Package Exports
- @stryke/hash
- @stryke/hash/hash
- @stryke/hash/hash-object
- @stryke/hash/hasher
- @stryke/hash/index
- @stryke/hash/package.json
- @stryke/hash/sha-256
- @stryke/hash/xx-hash
Readme
Stryke - Hashing Utiltites
A package containing various functions that given a certain parameter will generate a hash string
Installing
Using pnpm:
pnpm add -D @stryke/hashUsing npm
npm install -D @stryke/hashUsing yarn
yarn add -D @stryke/hashReduced Package Size
This project uses tsup to package the source code due to its ability to remove unused code and ship smaller javascript files thanks to code splitting. This helps to greatly reduce the size of the package and to make it easier to use in other projects.
Development
This project is built using Nx. As a result, many of the usual commands are available to assist in development.
Building
Run nx build hash to build the library.
Running unit tests
Run nx test hash to execute the unit tests via Jest.
Linting
Run nx lint hash to run ESLint on the package.