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

Publish on npm #1

Open
sindresorhus opened this issue May 19, 2014 · 2 comments
Open

Publish on npm #1

sindresorhus opened this issue May 19, 2014 · 2 comments

Comments

@sindresorhus
Copy link

Can you publish this on npm?

@tomByrer
Copy link

@sindresorhus I thought about making this a Gulp plugin also, but it is slow. Zopfli is kinda slow in C++ as it is; I'm wondering if it would be better if someone wrapped it into Node rather than trying to use a JS version.

@sindresorhus
Copy link
Author

@tomByrer it's slow whether it's C++ or JS. The trick is to only do it once per file by caching it (which is up to the consumer to do). I've wrapped my share of binaries in Node and I would much prefer a slower slightly JS alternative.

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

No branches or pull requests

2 participants