{
  "manifest": {
    "name": "unicode-match-property-ecmascript",
    "version": "2.0.0",
    "description": "Match a Unicode property or property alias to its canonical property name per the algorithm used for RegExp Unicode property escapes in ECMAScript.",
    "homepage": "https://github.com/mathiasbynens/unicode-match-property-ecmascript",
    "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": "https://github.com/mathiasbynens/unicode-match-property-ecmascript.git"
    },
    "bugs": {
      "url": "https://github.com/mathiasbynens/unicode-match-property-ecmascript/issues"
    },
    "dependencies": {
      "unicode-canonical-property-names-ecmascript": "^2.0.0",
      "unicode-property-aliases-ecmascript": "^2.0.0"
    },
    "devDependencies": {
      "ava": "*"
    },
    "scripts": {
      "test": "ava ./tests/*"
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-unicode-match-property-ecmascript-2.0.0-54fd16e0ecb167cf04cf1f756bdcc92eba7976c3-integrity/node_modules/unicode-match-property-ecmascript/package.json",
    "readmeFilename": "README.md",
    "readme": "# unicode-match-property-ecmascript [![Build status](https://travis-ci.org/mathiasbynens/unicode-match-property-ecmascript.svg?branch=main)](https://travis-ci.org/mathiasbynens/unicode-match-property-ecmascript) [![unicode-match-property-ecmascript on npm](https://img.shields.io/npm/v/unicode-match-property-ecmascript)](https://www.npmjs.com/package/unicode-match-property-ecmascript)\n\n_unicode-match-property-ecmascript_ 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-ecmascript_ programmatically, install it as a dependency via [npm](https://www.npmjs.com/):\n\n```bash\n$ npm install unicode-match-property-ecmascript\n```\n\nThen, `require` it:\n\n```js\nconst matchProperty = require('unicode-match-property-ecmascript');\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## 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-match-property-ecmascript_ is available under the [MIT](https://mths.be/mit) license.\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz#54fd16e0ecb167cf04cf1f756bdcc92eba7976c3",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz",
    "hash": "54fd16e0ecb167cf04cf1f756bdcc92eba7976c3",
    "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==",
    "registry": "npm",
    "packageName": "unicode-match-property-ecmascript",
    "cacheIntegrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q== sha1-VP0W4OyxZ88Ezx91a9zJLrp5dsM="
  },
  "registry": "npm",
  "hash": "54fd16e0ecb167cf04cf1f756bdcc92eba7976c3"
}