varuint-bitcoin

encode/decode number as bitcoin variable length integer https://en.bitcoin.it/wiki/Protocol_documentation#Variable_length_integer

Showing:

Popularity

Downloads/wk

45.3K

GitHub Stars

2

Maintenance

Last Commit

2yrs ago

Contributors

1

Package

Dependencies

1

Size (min+gzip)

0.8KB

License

MIT

Type Definitions

Built-In

Tree-Shakeable

No?

Categories

Readme

varuint-bitcoin

NPM Package Build Status

abstract-encoding

js-standard-style

encode/decode number as bitcoin variable length integer

valuestorage length (bytes)
[0, 0xfd)1
[0xfd, 0xffff]3
[0x010000, 0xffffffff]5
[0x0100000000, 0x1fffffffffffff]9

License

MIT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100