JSPM

hamming-distance

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 25501
  • Score
    100M100P100Q194370F
  • License MIT

Calculate the hamming distance of two hex strings or buffers

Package Exports

  • hamming-distance

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 (hamming-distance) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

hamming-distance

NPM version Build status Test coverage Dependency Status License Downloads Gittip

Usage

var compare = require('hamming-distance');

var distance = compare(new Buffer('0000', 'hex'), new Buffer('000F', 'hex'));