npm.io
1.0.3 • Published 11 years ago

esformatter-parseint

Licence
MIT
Version
1.0.3
Deps
2
Vulns
0
Weekly
0
Stars
2

esformatter-parseint Build Status

esformatter plugin that adds the radix parameter to parseInt

parseInt(1.1);
// transformed to:
parseInt(1.1, 10);

Install

With npm do:

$ npm install esformatter-parseint

Usage

esformatter config file:

{
  "plugins": [
    "esformatter-parseint"
  ]
}

License

MIT

Keywords