Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node.js integration and NPM package #6

Open
shivaprsd opened this issue May 20, 2022 · 3 comments
Open

Node.js integration and NPM package #6

shivaprsd opened this issue May 20, 2022 · 3 comments
Labels
help wanted Extra attention is needed work-in-progress

Comments

@shivaprsd
Copy link
Owner

shivaprsd commented May 20, 2022

An NPM package would be useful to devs wishing to integrate doq in their projects.

I am not familiar with the Node.js platform, so help in this direction is most welcome.

@shivaprsd shivaprsd added help wanted Extra attention is needed good first issue Good for newcomers labels May 20, 2022
@wyatt
Copy link

wyatt commented Oct 30, 2022

Happy to help with this!

I'd recommend using https://github.com/marketplace/actions/npm-publish, which will trigger an NPM deploy every time there's a version change.

You'll need to add the action, and set an action env variable which will be your NPM token (https://docs.npmjs.com/creating-and-viewing-access-tokens)

@shivaprsd
Copy link
Owner Author

Thanks for stopping by! I followed the pointers you gave. Really useful. 👍🏼

But before publishing, we need to figure out how exactly the PDF.js generic viewer is integrated by projects in NodeJS. Only then we can make necessary code changes and provide instructions to integrate doq into their setup.

I think there are some Node-integration examples in the PDF.js repo. Any pointers in that directions are appreciated. 🙂

@shivaprsd
Copy link
Owner Author

shivaprsd commented Nov 16, 2022

I went through the PDF.js and Node.js docs. Added to Todo.

@shivaprsd shivaprsd changed the title Node.js package NPM package Mar 20, 2023
@shivaprsd shivaprsd changed the title NPM package Node.js integration and NPM package Dec 4, 2023
@shivaprsd shivaprsd moved this from Todo to In Progress in doq: non-viewer integration Dec 4, 2023
@shivaprsd shivaprsd added work-in-progress and removed good first issue Good for newcomers labels Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed work-in-progress
Projects
Status: In Progress
Development

No branches or pull requests

2 participants