• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# es-abstract <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
2
3[![Build Status][travis-svg]][travis-url]
4[![dependency status][deps-svg]][deps-url]
5[![dev dependency status][dev-deps-svg]][dev-deps-url]
6[![License][license-image]][license-url]
7[![Downloads][downloads-image]][downloads-url]
8
9[![npm badge][npm-badge-png]][package-url]
10
11[![browser support][testling-svg]][testling-url]
12
13ECMAScript spec abstract operations.
14When different versions of the spec conflict, the default export will be the latest version of the abstract operation.
15All abstract operations will also be available under an `es5`/`es2015`/`es2016` entry point, and exported property, if you require a specific version.
16
17## Example
18
19```js
20var ES = require('es-abstract');
21var assert = require('assert');
22
23assert(ES.isCallable(function () {}));
24assert(!ES.isCallable(/a/g));
25```
26
27## Tests
28Simply clone the repo, `npm install`, and run `npm test`
29
30[package-url]: https://npmjs.org/package/es-abstract
31[npm-version-svg]: http://versionbadg.es/ljharb/es-abstract.svg
32[travis-svg]: https://travis-ci.org/ljharb/es-abstract.svg
33[travis-url]: https://travis-ci.org/ljharb/es-abstract
34[deps-svg]: https://david-dm.org/ljharb/es-abstract.svg
35[deps-url]: https://david-dm.org/ljharb/es-abstract
36[dev-deps-svg]: https://david-dm.org/ljharb/es-abstract/dev-status.svg
37[dev-deps-url]: https://david-dm.org/ljharb/es-abstract#info=devDependencies
38[testling-svg]: https://ci.testling.com/ljharb/es-abstract.png
39[testling-url]: https://ci.testling.com/ljharb/es-abstract
40[npm-badge-png]: https://nodei.co/npm/es-abstract.png?downloads=true&stars=true
41[license-image]: https://img.shields.io/npm/l/es-abstract.svg
42[license-url]: LICENSE
43[downloads-image]: https://img.shields.io/npm/dm/es-abstract.svg
44[downloads-url]: https://npm-stat.com/charts.html?package=es-abstract
45