{"name":"unicode-property-value-aliases","version":"1.2.2","description":"Unicode property value alias mappings in JavaScript format.","homepage":"https://github.com/mathiasbynens/unicode-property-value-aliases","main":"index.js","engines":{"node":">=4"},"files":["LICENSE-MIT.txt","index.js"],"keywords":["unicode","unicode-data","alias","aliases","property alias"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/unicode-property-value-aliases.git"},"bugs":{"url":"https://github.com/mathiasbynens/unicode-property-value-aliases/issues"},"devDependencies":{"ava":"*","jsesc":"^2.2.0","unicode-property-aliases":"^1.1.0"},"scripts":{"download":"curl http://unicode.org/Public/9.0.0/ucd/PropertyValueAliases.txt > data/PropertyValueAliases.txt","build":"node scripts/build.js","test":"ava ./tests"},"gitHead":"2e7b3e9469903185d750f27a94bfbec6eb0f3f26","_id":"unicode-property-value-aliases@1.2.2","_shasum":"12a3746fc66f75f08a3f4a8d56780f89f49acbbd","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"dist":{"shasum":"12a3746fc66f75f08a3f4a8d56780f89f49acbbd","tarball":"http://registry-npm.ywwl.com/unicode-property-value-aliases/download/unicode-property-value-aliases-1.2.2.tgz","integrity":"sha512-fByS+guPOhAbmjY8j1ZYOk4CBpzOAtaDcd19p5Xzg7O+4/gm3OXSdd2oEFZDfpgUalP1DJeVTSlcAkk/7L96aA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFcZGQTl+FG91jsE1B1gXt3b2iByEXggIZ5yyAqbnLLSAiEA85fls3tQdIkMWqmSQO0xmc6CxUXLYIbjRsO/3AX0mKM="}],"size":9750,"noattachment":false,"key":"/unicode-property-value-aliases/-/unicode-property-value-aliases-1.2.2.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/unicode-property-value-aliases-1.2.2.tgz_1489772344904_0.853526605758816"},"directories":{},"readme":"# unicode-property-value-aliases [![unicode-property-value-aliases on npm](https://img.shields.io/npm/v/unicode-property-value-aliases)](https://www.npmjs.com/package/unicode-property-value-aliases)\n\n_unicode-property-value-aliases_ offers the Unicode property value alias mappings in an easy-to-consume JavaScript format.\n\nIt’s based on Unicode’s `PropertyValueAliases.txt`.\n\nFor the subset used by Unicode RegExp property escapes in ECMAScript, [see _unicode-property-value-aliases-ecmascript_](https://github.com/mathiasbynens/unicode-property-value-aliases-ecmascript).\n\n## Installation\n\nTo use _unicode-property-value-aliases_ programmatically, install it as a dependency via [npm](https://www.npmjs.com/):\n\n```bash\n$ npm install unicode-property-value-aliases\n```\n\nThen, `require` it:\n\n```js\nconst propertyValueAliases = require('unicode-property-value-aliases');\n```\n\n## Usage\n\nThis module exports a `Map` object of which the keys are canonical property names and the values are `Map`s from property value aliases to canonical property value names. The most common usage is to convert a property value alias to its canonical form:\n\n```js\npropertyValueAliases.get(property).get(propertyValue)\n```\n\nExamples:\n\n```js\npropertyValueAliases.get('Bidi_Class').get('AL')\n// → 'Arabic_Letter'\n\npropertyValueAliases.get('Block').get('Alphabetic_PF')\n// → 'Alphabetic_Presentation_Forms'\n\npropertyValueAliases.get('Canonical_Combining_Class').get('KV')\n// → 'Kana_Voicing'\n```\n\n## For maintainers\n\n### How to publish a new release\n\n1. On the `main` branch, bump the version number in `package.json`:\n\n    ```sh\n    npm version patch -m 'Release v%s'\n    ```\n\n    Instead of `patch`, use `minor` or `major` [as needed](https://semver.org/).\n\n    Note that this produces a Git commit + tag.\n\n1. Push the release commit and tag:\n\n    ```sh\n    git push && git push --tags\n    ```\n\n    Our CI then automatically publishes the new release to npm.\n\n## Author\n\n| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias \"Follow @mathias on Twitter\") |\n|---|\n| [Mathias Bynens](https://mathiasbynens.be/) |\n\n## License\n\n_unicode-property-value-aliases_ is available under the [MIT](https://mths.be/mit) license.\n","publish_time":1489772345556,"_cnpm_publish_time":1489772345556,"dist-tags":{"latest":"4.0.0"}}