-
Notifications
You must be signed in to change notification settings - Fork 259
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
Feature request: NPM module #4
Comments
We was talk about this with author today. |
I asked them to make a web interface for making NPM packages: npm/npm#16625 BWT. I think that GitHub should create its own alternative to NPM, since a lot of interesting software is already here and GIT protocol seems to be uncomfortable for that. |
I'm sympathetic with the npm package request, but honestly, for a project this young, lets:
Npm is attempting to integrate with github and I use it for one of my dependencies. See: The code is delightfully clean (too bad pako isn't, alas). My wish is coming in the next issue :) |
Also, to be usable in a Node environment, the file needs this change on the top: import pako from 'pako';
export var UPNG = {}; |
Some progress guys? :-) |
I'm already using UPNG.js in a node module style for this module. If @photopea is OK with it, I can try to publish a pure UPNG.js module. But I can't guarantee any time frame although it shouldn't take too long. |
@awerlang Actually you shouldn't use ES6 module syntax yet, as it is not supported by NodeJS. Use
|
@Scimonster you're right, I should have mentioned this requires a transpiler |
It looks like someone did publish this to NPM. https://www.npmjs.com/package/upng Unfortunately without attribution to the original author. |
Sad! @photopea ! |
Yes, and also without a public repository and a bunch of IntelliJ IDEA config stuff which shouldn't be part of an NPM module. |
@Scimonster would you please be able to get UPNG.js to npm, too? |
Should @Scimonster do it or should I do it. |
@photopea Yes, with the same collaborator agreement we had on UTIF. |
@Scimonster Ok, I made you a collaborator. Please keep UPNG.js usable in a browser as it is. Add a mention about NPM into README.md . Thank yo very much. I really appreciate your help :) |
Done. I had to upload as |
Could you create an NPM module of UPNG.js? Samples on how to use it in a Node.js or browser context would also be very helpful.
The text was updated successfully, but these errors were encountered: