{"_id":"unicode-match-property","_rev":"9-b48e71c5b3aa547d7572f999178432a0","name":"unicode-match-property","description":"Match a Unicode property or property alias to its canonical property name without loose matching.","dist-tags":{"latest":"0.2.2"},"versions":{"0.1.0":{"name":"unicode-match-property","version":"0.1.0","description":"Match a Unicode property or property alias to its canonical property name without loose matching.","homepage":"https://github.com/mathiasbynens/unicode-match-property","main":"index.js","engines":{"node":">=4"},"files":["LICENSE-MIT.txt","index.js","data/canonical-names.js"],"keywords":["unicode","loose matching"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/unicode-match-property.git"},"bugs":{"url":"https://github.com/mathiasbynens/unicode-match-property/issues"},"dependencies":{"unicode-property-aliases":"^1.1.0"},"devDependencies":{"ava":"*","jsesc":"^2.2.0","unicode-9.0.0":"^0.0.1"},"scripts":{"build":"node scripts/build.js","test":"ava ./tests"},"gitHead":"24166f6146ba01a85322a2f0de7d3f6f67e3b6b0","_id":"unicode-match-property@0.1.0","_shasum":"011a97307608dbd88ef05def5383c4ed3cfda6d1","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"dist":{"shasum":"011a97307608dbd88ef05def5383c4ed3cfda6d1","tarball":"https://registry.npmjs.org/unicode-match-property/-/unicode-match-property-0.1.0.tgz","integrity":"sha512-73AmqtL/gFK9hxPrIFnBLtqZnhd5saOKUJKbAJ+SnryL3JGYksymx1HGQZjNux3qkaH1M5CJXkwfbKkOhoyaCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA87ZAgOVDjmMAviulJR0jWt/7MoVT5TdpK/pNwqeg6bAiA+i2oeM06VQc0avMGIufgFHJ5SOlmj5E3S8wWUcXNA2w=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/unicode-match-property-0.1.0.tgz_1465410698090_0.3726859597954899"}},"0.1.1":{"name":"unicode-match-property","version":"0.1.1","description":"Match a Unicode property or property alias to its canonical property name without loose matching.","homepage":"https://github.com/mathiasbynens/unicode-match-property","main":"index.js","engines":{"node":">=4"},"files":["LICENSE-MIT.txt","index.js"],"keywords":["unicode","unicode properties","unicode property aliases"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/unicode-match-property.git"},"bugs":{"url":"https://github.com/mathiasbynens/unicode-match-property/issues"},"dependencies":{"unicode-canonical-property-names":"^1.0.0","unicode-property-aliases":"^1.1.0"},"devDependencies":{"ava":"*"},"scripts":{"test":"ava ./tests"},"gitHead":"489657e54f1b2ec2df27a486e2a10ef916dcfce2","_id":"unicode-match-property@0.1.1","_shasum":"b3bfd67501b7858971229e6cabfdcf8d2b065659","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"dist":{"shasum":"b3bfd67501b7858971229e6cabfdcf8d2b065659","tarball":"https://registry.npmjs.org/unicode-match-property/-/unicode-match-property-0.1.1.tgz","integrity":"sha512-gTBazJ1C+9LqYRrg417hNWnd5Q+Iz1wwYDu0D9ZrSpbkAeY5ikQResZPXb97Dip4+oOZ8nO5L9VEalmjNy9pxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF2HGsIcpJibU48UnpAZ7NdXPlbes6eOnPwWKOzXAwb9AiBBd5a5vnaMDqM1pLr34imi+9gGDJlNzGexpF4iqYFHvg=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/unicode-match-property-0.1.1.tgz_1465413077190_0.8052883727941662"}},"0.1.2":{"name":"unicode-match-property","version":"0.1.2","description":"Match a Unicode property or property alias to its canonical property name without loose matching.","homepage":"https://github.com/mathiasbynens/unicode-match-property","main":"index.js","engines":{"node":">=4"},"files":["LICENSE-MIT.txt","index.js"],"keywords":["unicode","unicode properties","unicode property aliases"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/unicode-match-property.git"},"bugs":{"url":"https://github.com/mathiasbynens/unicode-match-property/issues"},"dependencies":{"unicode-canonical-property-names":"^1.0.2","unicode-property-aliases":"^1.1.0"},"devDependencies":{"ava":"*"},"scripts":{"test":"ava ./tests"},"gitHead":"e5ce53748db3627750d2d36451ec9cc7b85f9408","_id":"unicode-match-property@0.1.2","_shasum":"2cf7f1096ae403ad1b29205c4ec343558e572ca5","_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":"2cf7f1096ae403ad1b29205c4ec343558e572ca5","tarball":"https://registry.npmjs.org/unicode-match-property/-/unicode-match-property-0.1.2.tgz","integrity":"sha512-1JhvS7z6ioQSHnPGc5WaTvC+/+aV4N8ncUkpSjuKKK44ipK+Ea6eVTzeW4PuaAa6qoQGPhw5/R3t9wT1SSTVUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFjhlHntRofR2yDTQ2pufUPptNGjmLpq+bUbicwXO++EAiAUhR8irONB+Qafkg4BJyUyNSZJExblH7D6BW4ZFGu9Xw=="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/unicode-match-property-0.1.2.tgz_1479492800566_0.797570209717378"}},"0.1.3":{"name":"unicode-match-property","version":"0.1.3","description":"Match a Unicode property or property alias to its canonical property name without loose matching.","homepage":"https://github.com/mathiasbynens/unicode-match-property","main":"index.js","engines":{"node":">=4"},"files":["LICENSE-MIT.txt","index.js"],"keywords":["unicode","unicode properties","unicode property aliases"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/unicode-match-property.git"},"bugs":{"url":"https://github.com/mathiasbynens/unicode-match-property/issues"},"dependencies":{"unicode-canonical-property-names":"^1.0.3","unicode-property-aliases":"^1.1.0"},"devDependencies":{"ava":"*"},"scripts":{"test":"ava ./tests"},"gitHead":"56e4051cc1d6715a366f6498789693fa24aea5cf","_id":"unicode-match-property@0.1.3","_shasum":"371c7308522b65a2cc4cfbbbe775187f7784352a","_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":"371c7308522b65a2cc4cfbbbe775187f7784352a","tarball":"https://registry.npmjs.org/unicode-match-property/-/unicode-match-property-0.1.3.tgz","integrity":"sha512-8sAYGMZ7FzXuRKAsR28EpmShqcQnR8B6VUXKGWSKxPypkx0zRIQP9N6FRDlcmWm8qDCcV9MJhKDgUBzrdz/vWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5KKeO4YStZMtcSPMWYuzK+G545MjQcXPkwOnuU/593AIgdPmCskbnE4JeMbbfFNbuBWSrkEp3qrvuOVACKymUBFs="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/unicode-match-property-0.1.3.tgz_1489000658579_0.9813034744001925"}},"0.2.0":{"name":"unicode-match-property","version":"0.2.0","description":"Match a Unicode property or property alias to its canonical property name without loose matching.","homepage":"https://github.com/mathiasbynens/unicode-match-property","main":"index.js","engines":{"node":">=4"},"files":["LICENSE-MIT.txt","index.js"],"keywords":["unicode","unicode properties","unicode property aliases"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/unicode-match-property.git"},"bugs":{"url":"https://github.com/mathiasbynens/unicode-match-property/issues"},"dependencies":{"unicode-canonical-property-names":"^2.0.1","unicode-property-aliases-ecmascript":"^1.0.0"},"devDependencies":{"ava":"*"},"scripts":{"test":"ava ./tests"},"gitHead":"50027c6722fd0dcbd24f70d5c37bb3d48297b0b7","_id":"unicode-match-property@0.2.0","_shasum":"f48ee9a5e1393933c1f396ebeb253976a29a6c8b","_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":"f48ee9a5e1393933c1f396ebeb253976a29a6c8b","tarball":"https://registry.npmjs.org/unicode-match-property/-/unicode-match-property-0.2.0.tgz","integrity":"sha512-J3GK1oicryoQRRA/5yiIf+FoscnZ5MEPB6Cq6qAGSyzU/xcy04mgfi3p4ZjUQ7HfEd1evBGoYCjp+bYUOeA1pw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDjRP1T2o/0mXOC6TKsw407634cV+5cJNBgpXiikb57DAiEAg35Q1QVSAP0yLMC9ekugAFkcz6vuUG3vHdG/u+GVozw="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/unicode-match-property-0.2.0.tgz_1492246018223_0.8994835689663887"}},"0.2.1":{"name":"unicode-match-property","version":"0.2.1","description":"Match a Unicode property or property alias to its canonical property name without loose matching.","homepage":"https://github.com/mathiasbynens/unicode-match-property","main":"index.js","engines":{"node":">=4"},"files":["LICENSE-MIT.txt","index.js"],"keywords":["unicode","unicode properties","unicode property aliases"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/unicode-match-property.git"},"bugs":{"url":"https://github.com/mathiasbynens/unicode-match-property/issues"},"dependencies":{"unicode-canonical-property-names":"^2.0.2","unicode-property-aliases-ecmascript":"^1.0.0"},"devDependencies":{"ava":"*"},"scripts":{"test":"ava ./tests"},"gitHead":"1321ceb247be25b25e1b261917c8d410e2da76d8","_id":"unicode-match-property@0.2.1","_shasum":"df8872df7b71407c71ad6f57585cb5eb47ce2a57","_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":"df8872df7b71407c71ad6f57585cb5eb47ce2a57","tarball":"https://registry.npmjs.org/unicode-match-property/-/unicode-match-property-0.2.1.tgz","integrity":"sha512-6jWa5stxW0wJ2IvnH0PsUM7KJnjXW0mm44x8AVBkd2d4ANjLXKrI2Jk5h3DbGImJTqC0UdcISp34NusHgyxPGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVbTY3Y7QXx0wGp0Eee1Hh7q7/Ya/8ABF7KVmrfSpbGQIhAJYKQxqG58vV7S5Hc8zTG/7vyKtYiYdT0KwfRweps+Zi"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/unicode-match-property-0.2.1.tgz_1492251096852_0.05414575058966875"}},"0.2.2":{"name":"unicode-match-property","version":"0.2.2","description":"Match a Unicode property or property alias to its canonical property name without loose matching.","homepage":"https://github.com/mathiasbynens/unicode-match-property","main":"index.js","engines":{"node":">=4"},"files":["LICENSE-MIT.txt","index.js"],"keywords":["unicode","unicode properties","unicode property aliases"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/unicode-match-property.git"},"bugs":{"url":"https://github.com/mathiasbynens/unicode-match-property/issues"},"dependencies":{"unicode-canonical-property-names":"^2.0.2","unicode-property-aliases-ecmascript":"^1.0.1"},"devDependencies":{"ava":"*"},"scripts":{"test":"ava ./tests"},"gitHead":"ed5d1859d0cff2ccaad75405399c3c7edfb6e77c","_id":"unicode-match-property@0.2.2","_shasum":"5a26e0497368307907b38f440e44451b624c16d8","_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":"5a26e0497368307907b38f440e44451b624c16d8","tarball":"https://registry.npmjs.org/unicode-match-property/-/unicode-match-property-0.2.2.tgz","integrity":"sha512-Dp5y/o9oQQv0jYpeCxzRZAy4eoVv8PjxcDR9evKfqA3z3BPoHfiKFOwBOA9oZXGXfOe/qXbqY1NryC0d12v+hA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEY0RBqPwG99uLW6fpupl9PCWts7EFxWt/ti1WuvDeDQIhAPglxJvIo+/NYqdBwL8FYWUmfGc4k4s71/cGnq/+avRm"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/unicode-match-property-0.2.2.tgz_1492251783435_0.476843481650576"}}},"readme":"# unicode-match-property [![Build status](https://travis-ci.org/mathiasbynens/unicode-match-property.svg?branch=master)](https://travis-ci.org/mathiasbynens/unicode-match-property)\n\n_unicode-match-property_ matches a given Unicode property or [property alias](https://github.com/mathiasbynens/unicode-property-aliases-ecmascript) to its canonical property name without applying [loose matching](https://github.com/mathiasbynens/unicode-loose-match) per the algorithm used for [RegExp Unicode property escapes in ECMAScript](https://github.com/tc39/proposal-regexp-unicode-property-escapes). Consider it a strict alternative to loose matching.\n\n## Installation\n\nTo use _unicode-match-property_ programmatically, install it as a dependency via [npm](https://www.npmjs.com/):\n\n```bash\n$ npm install unicode-match-property\n```\n\nThen, `require` it:\n\n```js\nconst matchProperty = require('unicode-match-property');\n```\n\n## API\n\nThis module exports a single function named `matchProperty`.\n\n### `matchProperty(value)`\n\nThis function takes a string `value` and attempts to match it to a canonical Unicode property name. If there’s a match, it returns the canonical property name. Otherwise, it throws an exception.\n\n```js\n// Find the canonical property name:\nmatchProperty('sc')\n// → 'Script'\n\nmatchProperty('Script')\n// → 'Script'\n\nmatchProperty('script') // Note: incorrect casing.\n// → throws\n```\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-match-property_ is available under the [MIT](https://mths.be/mit) license.\n","maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"time":{"modified":"2022-06-28T04:26:40.227Z","created":"2016-06-08T18:31:40.143Z","0.1.0":"2016-06-08T18:31:40.143Z","0.1.1":"2016-06-08T19:11:19.313Z","0.1.2":"2016-11-18T18:13:22.476Z","0.1.3":"2017-03-08T19:17:40.418Z","0.2.0":"2017-04-15T08:46:59.018Z","0.2.1":"2017-04-15T10:11:38.880Z","0.2.2":"2017-04-15T10:23:05.374Z"},"homepage":"https://github.com/mathiasbynens/unicode-match-property","keywords":["unicode","unicode properties","unicode property aliases"],"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/unicode-match-property.git"},"author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"bugs":{"url":"https://github.com/mathiasbynens/unicode-match-property/issues"},"license":"MIT","readmeFilename":"README.md"}