octal

1.0.0 • Public • Published

octal

Interpret a number as base 8.

Same as the 0<number> notation but works in strict mode / standard js.

npm install octal

build status

Usage

var octal = require('octal')
console.log(octal(777)) // prints 511 which is 0777

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    121,208
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    121,208

Package Sidebar

Install

npm i octal

Weekly Downloads

121,208

Version

1.0.0

License

MIT

Last publish

Collaborators

  • mafintosh