[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]5/2023-06-15 18:19 -  
[DIR]2015/2023-06-15 18:19 -  
[DIR]2016/2023-06-15 18:19 -  
[DIR]2017/2023-06-15 18:19 -  
[DIR]2018/2023-06-15 18:19 -  
[DIR]2019/2023-06-15 18:19 -  
[DIR]2020/2023-06-15 18:19 -  
[DIR]2021/2023-06-15 18:19 -  
[DIR]2022/2023-06-15 18:19 -  
[DIR]helpers/2023-06-15 18:19 -  
[DIR]operations/2023-06-15 18:18 -  
[TXT]CHANGELOG.md1985-10-26 08:15 33K 
[   ]GetIntrinsic.js1985-10-26 08:15 89  
[   ]LICENSE1985-10-26 08:15 1.1K 
[TXT]README.md1985-10-26 08:15 1.9Kd7c1522 post receive test [كارل مبارك]
[   ]es5.js1985-10-26 08:15 2.0K 
[   ]es6.js1985-10-26 08:15 53  
[   ]es7.js1985-10-26 08:15 53  
[   ]es2015.js1985-10-26 08:15 6.4K 
[   ]es2016.js1985-10-26 08:15 6.7K 
[   ]es2017.js1985-10-26 08:15 7.1K 
[   ]es2018.js1985-10-26 08:15 7.6K 
[   ]es2019.js1985-10-26 08:15 7.9K 
[   ]es2020.js1985-10-26 08:15 9.1K 
[   ]es2021.js1985-10-26 08:15 9.7K 
[   ]es2022.js1985-10-26 08:15 10K 
[   ]index.js1985-10-26 08:15 682  
[   ]package.json2023-06-15 18:21 5.5K 
# es-abstract <sup>[![Version Badge][npm-version-svg]][package-url]</sup>

[![dependency status][deps-svg]][deps-url]
[![dev dependency status][dev-deps-svg]][dev-deps-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]

[![npm badge][npm-badge-png]][package-url]

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.

## Example

```js
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](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report.

[package-url]: https://npmjs.org/package/es-abstract
[npm-version-svg]: https://versionbadg.es/ljharb/es-abstract.svg
[deps-svg]: https://david-dm.org/ljharb/es-abstract.svg
[deps-url]: https://david-dm.org/ljharb/es-abstract
[dev-deps-svg]: https://david-dm.org/ljharb/es-abstract/dev-status.svg
[dev-deps-url]: https://david-dm.org/ljharb/es-abstract#info=devDependencies
[npm-badge-png]: https://nodei.co/npm/es-abstract.png?downloads=true&stars=true
[license-image]: https://img.shields.io/npm/l/es-abstract.svg
[license-url]: LICENSE
[downloads-image]: https://img.shields.io/npm/dm/es-abstract.svg
[downloads-url]: https://npm-stat.com/charts.html?package=es-abstract