{"name":"unicode-length","version":"2.1.0","description":"Get the length of unicode strings","main":"lib/unicode-length.js","types":"index.d.ts","homepage":"https://github.com/jviotti/unicode-length","repository":{"type":"git","url":"git://github.com/jviotti/unicode-length.git"},"keywords":["unicode","string","length"],"directories":{"test":"tests"},"scripts":{"lint":"standard","test":"node ./tests/unicode-length.spec.js | tap-spec"},"author":{"name":"Juan Cruz Viotti","email":"jv@jviotti.com"},"license":"MIT","devDependencies":{"standard":"^12.0.1","tap-spec":"^5.0.0","tape":"^4.10.2"},"dependencies":{"punycode":"^2.0.0"},"gitHead":"e5df37a7fcce03c3ebb1052cd33340456a3d60c4","bugs":{"url":"https://github.com/jviotti/unicode-length/issues"},"_id":"unicode-length@2.1.0","_nodeVersion":"18.7.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-4bV582zTV9Q02RXBxSUMiuN/KHo5w4aTojuKTNT96DIKps/SIawFp7cS5Mu25VuY1AioGXrmYyzKZUzh8OqoUw==","shasum":"425202b99f21854f5ca3530cc2a08dc262ce619f","tarball":"http://registry-npm.ywwl.com/unicode-length/download/unicode-length-2.1.0.tgz","fileCount":4,"unpackedSize":4378,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEJOC9xTqmZM3tUwv43+e6sOxvrJzQZfYYn4sksJIREDAiEAuysGH5gYAGlLpGI4tOFshkIK4G9B40ar/SnVgx+Cv5U="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9tNOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3Lw/9HmEen/FfJumwOAdgGPbIe2BHf3dRbedf6qNFHZmkDg/Y5OXm\r\n6nrMZcc9e4HA/pfsZ1OMUqV12XiZR/06MqZZx6Wo5coacozoxNPjuBX3FQGZ\r\nDzP+U9wfUVlQLvi0Sj6H+1PBg0p+jclHQR98annV3zuyCQTNYtIQS2hxSNXo\r\noCVNCPM0TNKHbeZbyu42N3G89tvg9a14FWxfGtPQfYQgqX1Z0zKyb00lMKTM\r\nrI5UTaxYp6VAyZdC5NFpbfHnCnDUTtiFMO9y9IVhU2K61znX90spwa8SfRLH\r\nwcBOMIZl6lA6FGJUHNF+lYCqBysrdQSFNe4x24JYYR6gjfhiBDbFsBuymUva\r\nm0Mbcd3GtZkC/s2PwYmiqm6662dcwHESp6ov1Qnx+SljG2tVfjMgSUiOzRtt\r\nCdBGzA0zQap2+FdC+UBQySNr71DcGnz169ba/v8Oy+KAqmPBYl3Pu/JHG9Y3\r\nYh7+jXDQ1iNntNL/lIcn8CNibhyQFdBecFgpdMYL9IjmED8h9f52VXrV9JGK\r\nDwtlmMJKYJGJ2oIVQL7RKXB+B1LxnYXuwSgQLHyiRpmBPvl+PFVayYLuhGeA\r\nDXGDMvcHorC6LBgtviIY+8P2VD5nQvmsmm7gS6DLHuBj61F1g+9yd4cLYL4+\r\nz/2bIf7bpvJhO7Vfb6T+ky6CzuNZqZE+K7c=\r\n=cF5l\r\n-----END PGP SIGNATURE-----\r\n","size":2274,"noattachment":false,"key":"/unicode-length/-/unicode-length-2.1.0.tgz"},"_npmUser":{"name":"jviotti","email":"jv@jviotti.com"},"maintainers":[{"name":"jviotti","email":"jv@jviotti.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unicode-length_2.1.0_1660343118399_0.11822034658164826"},"_hasShrinkwrap":false,"readme":"unicode-length\n--------------\n\n[![npm version](https://badge.fury.io/js/unicode-length.svg)](http://badge.fury.io/js/unicode-length)\n[![dependencies](https://david-dm.org/jviotti/unicode-length.png)](https://david-dm.org/jviotti/unicode-length.png)\n[![Build Status](https://travis-ci.org/jviotti/unicode-length.svg?branch=master)](https://travis-ci.org/jviotti/unicode-length)\n\nInstallation\n------------\n\nInstall `unicode-length` by running:\n\n```sh\n$ npm install --save unicode-length\n```\n\nDocumentation\n-------------\n\n### Number unicodeLength.get(String input)\n\nGet the length of a unicode string.\n\nExample:\n\n```coffee\nunicodeLength = require('unicode-length')\nconsole.log(unicodeLength.get('汉字'))\n# Outputs 2\n```\n\nTests\n-----\n\nRun the test suite by doing:\n\n```sh\n$ gulp test\n```\n\nContribute\n----------\n\n- Issue Tracker: [github.com/jviotti/unicode-length/issues](https://github.com/jviotti/unicode-length/issues)\n- Source Code: [github.com/jviotti/unicode-length](https://github.com/jviotti/unicode-length)\n\nBefore submitting a PR, please make sure that you include tests, and that [coffeelint](http://www.coffeelint.org/) runs without any warning:\n\n```sh\n$ gulp lint\n```\n\nSupport\n-------\n\nIf you're having any problem, please [raise an issue](https://github.com/jviotti/unicode-length/issues/new) on GitHub.\n\nLicense\n-------\n\nThe project is licensed under the MIT license.\n","publish_time":1660343118814,"_cnpm_publish_time":1660343118814,"dist-tags":{"latest":"2.1.0"}}