Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

es-suite

ashraile0MIT1.1.1

ES helper functions from ES5 shim with no dependencies

ES5, ES6, is, isArguments, isArray, isCallable, isES6ClassFn, isString, isRegex, isWindow, ToObject, ToPrimitive

readme

Minimalistic helper library of ES is and to functions from ES5-shim with no dependencies. Works from ES3+

Defines a single self-contained object, ES, that can be inlined as a module in any script without external dependencies. The functions defined therein are ~40% more performant than the eponymous npm es-shim methods, and take up half the filesize.

Axiomatic functions, accessed by ES.{function name}:

is, isActualNaN, isArguments, isArray, isCallable, isDDA, isES6ClassFn, isPrimitive, isNullish, isString, isRegex, isWindow, ToObject, ToNumber, ToUint32, ToInteger, ToPrimitive, ToSoftInteger