esformatter-parseint
Version:
esformatter plugin that adds the radix parameter to parseInt
34 lines (23 loc) • 544 B
Markdown
# esformatter-parseint [](https://travis-ci.org/kewah/esformatter-parseint)
[esformatter](https://github.com/millermedeiros/esformatter) plugin that adds the radix parameter to parseInt
```js
parseInt(1.1);
// transformed to:
parseInt(1.1, 10);
```
## Install
With [npm](http://npmjs.org) do:
```bash
$ npm install esformatter-parseint
```
## Usage
esformatter config file:
```json
{
"plugins": [
"esformatter-parseint"
]
}
```
## License
MIT