JSPM

varint-decoder

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

Parse all the varints in a Buffer (for when there are varints everywhere)

Package Exports

  • varint-decoder

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

Readme

varint-decoder

Coverage Status Travis CI Circle CI Dependency Status js-standard-style

Parse all the varints in a Buffer (for when there are varints everywhere)

Usage

API

const vd = require('varint-decoder')
const buf = new Buffer('000110', 'hex')

const decoded = vd(buf)

console.log(decoded)
// [0, 1, 16]