package
ECMAScript spec abstract operations.
npm install es-abstractGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
ECMAScript spec abstract operations.
Every operation is available by edition/year and by name - for example, es-abstract/2020/Call gives you the Call operation from ES2020, es-abstract/5/Type gives you the Type operation from ES5.
All abstract operations are also available under an es5/es2015/es2016/es2017/es2018/es2019/es2020/es2021 entry point, and as a property on the main export, but using deep imports is highly encouraged for bundle size and performance reasons. Non-deep entry points will be removed in the next semver-major release.
var ES = require('es-abstract');
var assert = require('assert');
assert(ES.isCallable(function () {}));
assert(!ES.isCallable(/a/g));Simply clone the repo, npm install, and run npm test
Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.
Estimated unpacked size across 1 packages.
2.7 MB
Includes dependencies.
^2.0.2
^2.0.3
^1.2.1
^1.0.1
^1.0.8
^1.3.0
^1.0.1
^1.2.0
^1.1.1
^1.0.0
^1.0.4
^1.0.4
^1.1.1
^1.1.0
^1.2.7
^1.1.1
^1.0.2
^1.3.0
^1.1.0
^4.1.7
^1.1.15
^1.13.4
^1.1.1
^1.3.0
^3.0.5
^1.1.0
^1.0.0
^1.1.0
^1.1.0
^1.0.2
^2.0.3
^1.1.3
^1.1.19
^1.0.1
^2.1.0
^1.0.3
^1.0.7
^1.0.2
^1.0.1
^1.2.10
^1.0.7
^1.1.0
^1.0.4
^1.5.4
^1.1.8
^1.1.0
^1.0.3
^1.0.4
^1.0.2
^1.0.2
^1.0.9