validate-numbers

validate number

Usage no npm install needed!

<script type="module">
  import validateNumbers from 'https://cdn.skypack.dev/validate-numbers';
</script>

README

validate-numbers

Install

$ npm i --save validate-numbers

Usage

const validateNumbers = require('validate-numbers');

validateNumbers(5)    // true
validateNumbers("6") // false 


License

MIT © [Jijo Paulose]