UNPKG

number.parseint

Version:

An ES-spec-compliant Number.parseInt shim/polyfill/replacement that works as far down as ES3

10 lines (6 loc) 336 B
import callBind from 'call-bind'; import getPolyfill from 'number.parseint/polyfill'; export default callBind(getPolyfill(), Number); export { default as getPolyfill } from 'number.parseint/polyfill'; export { default as implementation } from 'number.parseint/implementation'; export { default as shim } from 'number.parseint/shim';