gildas-lormeau / zip.js

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
https://gildas-lormeau.github.io/zip.js
BSD 3-Clause "New" or "Revised" License
3.38k stars 510 forks source link

Npm package size #399

Closed Hexagon closed 1 year ago

Hexagon commented 1 year ago

Just a detail i noticed while browsing npm.

To make this great package even more popular, you could either add a files-section in package.json, which whitelist all files that is to be included in the npm package. Or add a .npmignore to blacklist files which shouldnt be included.

Current npm stats are

Unpacked Size 3.57 MB

Total Files 154

Which could scare away certain users who are using packagephobia and tools like that. Guess a lot of it can be sliced away without cousing any problems whatsoever 🥷

gildas-lormeau commented 1 year ago

Thank you very much for the kind words and the suggestion. I just published the version 2.6.65 on NPM. Now, it contains 65 files.

Hexagon commented 1 year ago

Cool! Fastest fix ever :smile: