JSPM

swarmhash3

0.3.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q30129F
  • License MIT

An implementation of Swarm Hash as it is implemented in Swarm PoC3

Package Exports

  • swarmhash3

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (swarmhash3) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

swarmhash3 Build Status NPM Version

An implementation of Swarm Hash as it is implemented in Swarm PoC3

Example Usage

const swarmHash = require('swarmhash3');

const content = 'Test content to hash';

const hash = swarmHash(content);

console.log(hash);