lambdaworld-archive/node_modules/unicode-canonical-property-names-ecmascript
2023-04-11 16:38:39 -04:00
..
index.js Initial commit 2023-04-11 16:38:39 -04:00
LICENSE-MIT.txt Initial commit 2023-04-11 16:38:39 -04:00
package.json Initial commit 2023-04-11 16:38:39 -04:00
README.md Initial commit 2023-04-11 16:38:39 -04:00

unicode-canonical-property-names-ecmascript Build status

unicode-canonical-property-names-ecmascript exports the set of canonical Unicode property names that are supported in ECMAScript RegExp property escapes.

Installation

To use unicode-canonical-property-names-ecmascript, install it as a dependency via npm:

$ npm install unicode-canonical-property-names-ecmascript

Then, require it:

const properties = require('unicode-canonical-property-names-ecmascript');

Example

properties.has('ID_Start');
// → true
properties.has('IDS');
// → false

Author

twitter/mathias
Mathias Bynens

License

unicode-canonical-property-names-ecmascript is available under the MIT license.