JSPM

  • Created
  • Published
  • Downloads 4592
  • Score
    100M100P100Q142958F
  • License Apache-2.0

A package containing utility functions that hash data using various algorithms.

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/hash
Using npm
npm install -D @stryke/hash
Using yarn
yarn add -D @stryke/hash

Reduced 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.