Reputation: 1
I’m trying to use the docling library for converting PDFs to text in my Node.js project. However, I’m encountering an issue where the package is not available in the NPM registry
npm error code E404 npm error 404 Not Found - GET https://registry.npmjs.org/docling - Not found
I see that docling is hosted on GitHub (https://github.com/DS4SD/docling), but I’m not sure how to install it from GitHub.
How can I install this package directly from GitHub into my Node.js project? I’ve tried using npm install git+https://github.com/DS4SD/docling.git
, but I want to confirm if this is the correct approach.
Any help or suggestions on how to properly install it would be greatly appreciated!
Upvotes: 0
Views: 225
Reputation: 362
Yes using npm install git+https://github.com/DS4SD/docling.git
is the correct approach to install a package directly from its GitHub repository.
You can verify by checking the node modules
Upvotes: 0