esformatter-parseint

esformatter plugin that adds the radix parameter to parseInt

Usage no npm install needed!

<script type="module">
  import esformatterParseint from 'https://cdn.skypack.dev/esformatter-parseint';
</script>

README

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