{"_id":"@mark.probst/unicode-properties","_rev":"1-5825a7a067a0f1b1292642935243e07e","name":"@mark.probst/unicode-properties","dist-tags":{"latest":"1.1.0"},"versions":{"1.1.0":{"name":"@mark.probst/unicode-properties","version":"1.1.0","description":"Provides fast access to unicode character properties","directories":{"test":"test"},"dependencies":{"brfs":"^1.4.0","unicode-trie":"^0.3.0"},"devDependencies":{"codepoints":"^1.2.0","coffee-script":"^1.9.1","mocha":"^2.2.1"},"scripts":{"test":"mocha","prepublish":"coffee generate.coffee && coffee -cb index.coffee","postpublish":"rm -f index.js"},"browserify":{"transform":["brfs"]},"repository":{"type":"git","url":"git://github.com/devongovett/unicode-properties.git"},"keywords":["unicode","metadata","character","codepoint"],"author":{"name":"Devon Govett","email":"devongovett@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/devongovett/unicode-properties/issues"},"homepage":"https://github.com/devongovett/unicode-properties","gitHead":"9a675cb98a41bdeb9b74410543383de19763413c","_id":"@mark.probst/unicode-properties@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.2.1","_npmUser":{"name":"mark.probst","email":"mark@quicktype.io"},"dist":{"integrity":"sha512-7AQsO0hMmpqDledV7AhBuSYqYPFsKP9PaltMecX9nlnsyFxqtsqUg9/pvB2L/jxvskrDrNkdKYz2KTbQznCtng==","shasum":"5caafeab4737df93163d6d288007df33f9939b80","tarball":"https://registry.npmjs.org/@mark.probst/unicode-properties/-/unicode-properties-1.1.0.tgz","fileCount":9,"unpackedSize":47626,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcA0OMCRA9TVsSAnZWagAABesP/1aIMsrsJ4r7exKGw9iG\nIDyY3jEXgmYhlwfhpxpiAYrS+jKiBxhgNS5IA/5OnxIC6vG1wOQy8stAu7cc\nHda+csGw1O09DJ9KtsqfJyPiCeZ0ThoppNRsqtmkBRJPJJ6dTi+zzZ8RSHKS\nY1zVi0EboR3eHitPtsm4+7ADk9zKs4Ye5NcT14boWCc8/1pD1pOnbrr1Knk/\nHTLsQyMCRy/ZXP8E+k9WmFwQBxwbwI6M3KLxrJ9AUXZcdragu45NbyEfOl0b\nieIaS4fRw6UGC3tsdlZArIPiTYhefTiYeBeCDLLZXT79vx/dNl20/PGo8UAB\nXeDrk4ZrBu+fG0f3xo4e5hIeB5+5j2exk6ZWSycd4EwNGNkzJOPlhlld1NIX\noFj81zbr8ZzwUAoVOBzVOy0MNSStpyyknviz868xPhoXs1ujh3407Qw5nm+3\nM6HVKz4ZW1QQgOM/1X4MsZughm9Q35Rk+cxt4zYvdS3F7d19KgnLQ+b/c3mQ\nxBnYb/8W16B+bY3Ws5x5DLNeS5N3/LJTyPA7aevhp/UarWbQQ876OcZ1lSR8\njYzqqVu3zJUtwnP85LVS228r4r1dyRvBgUvyHzgul70Ew2rOTZeGluOquo/V\nTi8qsvBlZt4GjW27ihxmyBiYIkdEEyAO3nAOnbD1iGuvyYk1Yo5LKU8kjCAv\n/hpi\r\n=wFF2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFJpjukNnckhDX+oTiJPyqPnQy2nSxOrV8XH1YmhLLjMAiB0AJ/RPQIRHPWKqAkdGP+RVjxzb7u5kdLLIwF+15HpMw=="}]},"maintainers":[{"name":"mark.probst","email":"mark@quicktype.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unicode-properties_1.1.0_1543717771401_0.34010179204151636"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-02T02:29:31.235Z","1.1.0":"2018-12-02T02:29:31.600Z","modified":"2022-04-06T03:38:23.665Z"},"maintainers":[{"name":"mark.probst","email":"mark@quicktype.io"}],"description":"Provides fast access to unicode character properties","homepage":"https://github.com/devongovett/unicode-properties","keywords":["unicode","metadata","character","codepoint"],"repository":{"type":"git","url":"git://github.com/devongovett/unicode-properties.git"},"author":{"name":"Devon Govett","email":"devongovett@gmail.com"},"bugs":{"url":"https://github.com/devongovett/unicode-properties/issues"},"license":"MIT","readme":"# unicode-properties\n\nProvides fast access to unicode character properties. Uses [unicode-trie](https://github.com/devongovett/unicode-trie) to compress the \nproperties for all code points into just 12KB.\n\n## Usage\n\n    npm install unicode-properties\n\n```javascript\nvar unicode = require('unicode-properties');\n\nunicode.getCategory('2'.charCodeAt()) //=> 'Nd'\nunicode.getNumericValue('2'.charCodeAt()) //=> 2\n```\n\n## API\n\n### getCategory(codePoint)\n\nReturns the unicode [general category](http://www.fileformat.info/info/unicode/category/index.htm) for the given code point.\n\n### getScript(codePoint)\n\nReturns the [script](http://unicode.org/standard/supported.html) for the given code point.\n\n### getCombiningClass(codePoint)\n\nReturns the [canonical combining class](http://unicode.org/glossary/#combining_class) for the given code point.\n\n### getEastAsianWidth(codePoint)\n\nReturns the [East Asian width](http://www.unicode.org/reports/tr11/tr11-28.html) for the given code point.\n\n### getNumericValue(codePoint)\n\nReturns the numeric value for the given code point, or null if there is no numeric value for that code point.\n\n### isAlphabetic(codePoint)\n\nReturns whether the code point is an alphabetic character.\n\n### isDigit(codePoint)\n\nReturns whether the code point is a digit.\n\n### isPunctuation(codePoint)\n\nReturns whether the code point is a punctuation character.\n\n### isLowerCase(codePoint)\n\nReturns whether the code point is lower case.\n\n### isUpperCase(codePoint)\n\nReturns whether the code point is upper case.\n\n### isTitleCase(codePoint)\n\nReturns whether the code point is title case.\n\n### isWhiteSpace(codePoint)\n\nReturns whether the code point is whitespace: specifically, whether the category is one of Zs, Zl, or Zp.\n\n### isBaseForm(codePoint)\n\nReturns whether the code point is a base form. A code point of base form does not graphically combine with preceding\ncharacters.\n\n### isMark(codePoint)\n\nReturns whether the code point is a mark character (e.g. accent).\n\n## License\n\nMIT\n","readmeFilename":"readme.md"}