Skip to content

Commit

Permalink
README, gitignore, build adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Jan 20, 2024
1 parent f3a5496 commit c446127
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
10 changes: 4 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
node_modules
/build/
/*.js
/*.d.ts
*.d.ts.map
/*.js.map
/esm/*.js
/esm/*.d.ts
/esm/*.js.map
*.d.ts
*.d.ts.map
*.js.map
/build
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Audited & minimal JS implementation of SHA, RIPEMD, BLAKE, HMAC, HKDF, PBKDF, Sc
- 🔁 No unrolled loops: makes it easier to verify and reduces source code size up to 5x
- 🐢 Scrypt supports `N: 2**22`, while other implementations are limited to `2**20`
- 🦘 SHA3 supports Keccak, cSHAKE, KangarooTwelve, MarsupilamiFourteen and TurboSHAKE
- 🪶 Just 3.4k lines / 17KB gzipped. SHA256-only is 240 lines / 3KB gzipped
- 🪶 45KB for everything, 5KB for single-hash build

The library's initial development was funded by [Ethereum Foundation](https://ethereum.org/).

Expand Down
2 changes: 1 addition & 1 deletion build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"esbuild": "0.18.11"
},
"scripts": {
"build": "npx esbuild --bundle input.js --outfile=noble-hashes.js --global-name=nobleHashes"
"build": "npx esbuild --minify --bundle input.js --outfile=noble-hashes.js --global-name=nobleHashes"
}
}

0 comments on commit c446127

Please sign in to comment.