emn178 / js-sha3

A simple SHA-3 / Keccak hash function for JavaScript supports UTF-8 encoding.
MIT License
345 stars 85 forks source link

Make NPM pkg flat. Remove src dir. Add build to npmignore. #20

Closed paulmillr closed 4 years ago

paulmillr commented 5 years ago

@emn178

emn178 commented 5 years ago

any problem with "src" folder?

paulmillr commented 5 years ago

It is easier to look into the node_modules tree and not be forced to do tons of unwrapping. If the project had like 3 files inside src, that's cool. I don't see reasons to preserve it for one file. Just keepin' it simple

paulmillr commented 5 years ago

@emn178 I can revert the src change if you want. Can we go ahead with build ignore though?