tree: e1ff84490311b5565dd85d7ff515f670b16c702e [path history] [tgz]
  1. .github/
  2. 2015/
  3. 2016/
  4. 2017/
  5. 2018/
  6. 2019/
  7. 5/
  8. helpers/
  9. node_modules/
  10. operations/
  11. test/
  12. .editorconfig
  13. .eslintignore
  14. .eslintrc
  15. .gitattributes
  16. .nycrc
  17. .travis.yml
  18. CHANGELOG.md
  19. es2015.js
  20. es2016.js
  21. es2017.js
  22. es2018.js
  23. es2019.js
  24. es5.js
  25. es6.js
  26. es7.js
  27. GetIntrinsic.js
  28. index.js
  29. LICENSE
  30. package.json
  31. README.md
node_modules/es-abstract/README.md

es-abstract Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

browser support

ECMAScript spec abstract operations. When different versions of the spec conflict, the default export will be the latest version of the abstract operation. All abstract operations will also be available under an es5/es2015/es2016/es2017/es2018/es2019 entry point, and exported property, if you require a specific version.

Example

var ES = require('es-abstract');
var assert = require('assert');

assert(ES.isCallable(function () {}));
assert(!ES.isCallable(/a/g));

Tests

Simply clone the repo, npm install, and run npm test

Security

Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.