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

ESM package? #5

Open
rottencandy opened this issue Feb 27, 2023 · 4 comments · Fixed by #8
Open

ESM package? #5

rottencandy opened this issue Feb 27, 2023 · 4 comments · Fixed by #8

Comments

@rottencandy
Copy link

Thanks for making this.

Is there any interest in creating an ESM package? This would allow users to use SwissGL with build systems and bundlers.

@znah
Copy link
Collaborator

znah commented Mar 27, 2023

I apologize for my ignorance about npm. I merged the package.json, what's next?

@znah znah reopened this Mar 27, 2023
@rottencandy
Copy link
Author

You'd have to sign up on npmjs.com and then run npm publish.

See https://docs.npmjs.com/creating-node-js-modules

@micahscopes
Copy link
Contributor

@rottencandy, @znah:

It's possible to use this now with npm, even without publishing to npmjs.com:

npm install --save google/swissgl

(npm supports installing packages directly from github)

@rottencandy
Copy link
Author

Thanks, can confirm I'm able to install from github

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants