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

Not pointing to an official NPM package on the website #1514

Open
bogeeee opened this issue Apr 21, 2024 · 1 comment
Open

Not pointing to an official NPM package on the website #1514

bogeeee opened this issue Apr 21, 2024 · 1 comment
Labels

Comments

@bogeeee
Copy link

bogeeee commented Apr 21, 2024

Most appropriate sections of the p5.js website?

Libraries

What is your operating system?

None

Web browser and version

No response

Actual Behavior

In the "Download" and "Get started" section, there's no hint how to install it in NPM and more imporantly: There's no mention of the official package name.
I guess it's "p5" but NPM does not prevent any random (evil) guy on the internet to upload and claim a package with the name "p5", so i try to verify what's official or not here.
Would be nice, if you could state that in the docs,
thank you !

Expected Behavior

Not really a bug, see "Actual Behaviour"

Steps to reproduce

Not really a bug, see "Actual Behaviour"

Would you like to work on the issue?

No

@bogeeee bogeeee added the Bug label Apr 21, 2024
@limzykenneth
Copy link
Member

p5.js is not currently designed to be used via NPM packages, publishing on NPM mainly is to help with distributing the library on CDNs. We can't guarantee importing p5.js NPM modules will work so it will not be listed on the downloads page at the moment.

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

No branches or pull requests

2 participants