Interpret a number as base 8
MIT License
Interpret a number as base 8.
Same as the 0<number> notation but works in strict mode / standard js.
0<number>
npm install octal
var octal = require('octal') console.log(octal(777)) // prints 511 which is 0777
MIT
get the local network address of your machine
A well-tested WTF-8 encoder/decoder written in JavaScript.
Encode / decode big endian unsigned 64 bit integers
A JavaScript library for arbitrary-precision decimal and non-decimal arithmetic
Output a message prefixed with the name and line number of the source file where you outputted th...
Pass in a string, get a buffer back. Pass in a buffer, get the same buffer back.
Encode / decode big endian unsigned 48 bit integers
A JavaScript library used to encode and decode numbers in arbitrary bases.
An arbitrary-precision Decimal type for JavaScript
Hash a value to a valid port
Encode / decode little endian unsigned 64 bit integers
Convert a string to a number based on a classic phone number pad encoding
Arbitrary precision decimal↔️hexadecimal converter.
Convert a base64 string to a Uint8Array in Node and the browser