/max-safe-integer

ES6 Number.MAX_SAFE_INTEGER ponyfill

Primary LanguageJavaScriptMIT LicenseMIT

max-safe-integer Build Status

ES6 Number.MAX_SAFE_INTEGER ponyfill

Ponyfill: A polyfill that doesn't overwrite the native method

Install

$ npm install --save max-safe-integer

Usage

var MAX_SAFE_INTEGER = require('max-safe-integer');

console.log(MAX_SAFE_INTEGER);
//=> 9007199254740991

License

MIT © Sindre Sorhus