Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

unicode-canonical-property-names

mathiasbynens103MIT3.0.0

The set of canonical property names in Unicode.

unicode, unicode properties

readme

unicode-canonical-property-names Build status

unicode-canonical-property-names exports the set of canonical property names in Unicode.

For the subset used by Unicode RegExp property escapes in ECMAScript, see unicode-canonical-property-names-ecmascript.

Installation

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

$ npm install unicode-canonical-property-names

Then, require it:

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

Example

properties.has('ISO_Comment');
// → true
properties.has('isc');
// → false

Author

twitter/mathias
Mathias Bynens

License

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