{"name":"unicode-length","version":"2.0.2","description":"Get the length of unicode strings","main":"lib/unicode-length.js","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","strip-ansi":"^3.0.1"},"gitHead":"8cf253d244bc9ea40ec0880c6259d452a480a699","bugs":{"url":"https://github.com/jviotti/unicode-length/issues"},"_id":"unicode-length@2.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.11.2","_npmUser":{"name":"jviotti","email":"jv@jviotti.com"},"dist":{"integrity":"sha512-Ph/j1VbS3/r77nhoY2WU0GWGjVYOHL3xpKp0y/Eq2e5r0mT/6b649vm7KFO6RdAdrZkYLdxphYVgvODxPB+Ebg==","shasum":"e5eb4c0d523fdf7bebb59ca261c9ca1cf732da96","tarball":"http://registry-npm.ywwl.com/unicode-length/download/unicode-length-2.0.2.tgz","fileCount":4,"unpackedSize":4037,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7+JXCRA9TVsSAnZWagAAoGgQAIyClT4SCHx+8IZDLADS\nqRfxuT6FAraVQZCSjvned5X8XWq1crgRu+YsNlmkliDNSGz7DxnCfs5oB5v4\nx7fxO9cpaK1VQ1MaXpJm1qpv7uWxiqRHBwbuYf1LlYwuzYeRyNqbC8NaCf2r\nLqkF0GmUDdO1j/+RorUL/IbW/NG2cJylpH7SFqRGKjsXRsqUvT2FqiPO7Egp\nB1QHCJHp428t8dU6Kv7pJs3V9ab1wC3vDrjTBD/gbjLrqirTLvKSfYii6HHG\naHmwxl6v+YLgV1jG+uPT3t3BR2irurifyGLKPp63Xn/cihSHxADOLvmU9AXO\nsP1n3dDzyzYmOIKAeruL24l+iDhlJNpbUuICK9UxAoYOZAtMIpZDAm1GbOGK\nBOv/Xi8+X3BDaYzMHyGh+9Ph49OQ8GGnzYE8VAtnW0HPJQLG7eIjD7VulvOs\nCQAyKaHYezMKEKKb7hmxU0xGi+sjmN7gsvVnVXXB3Nhc5xNXRSGqsnHlrJc2\nzzwu4wOzCzPHyaaHaxhom7lesS8hiCkdqn5ehH8tb86tAwyTv12IHyXZ0O6D\nRDiWpcayj61zEnNAFhC/6Ymc9PR/7euhHBoiTNV1MpBUiwsT2bSfhJGaBvNa\nk9DCBPByFsdgWZu2mUoAMYmoGtuSVkY4XWeQuUNkG80iUhDn99gGY0JmcVor\n4YRj\r\n=YF9i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDStrCzGkTvFuzY/iKw/bD1qINMhZ/YO1J4BhT6xhUCewIgEeaq7egpbqBHgOkpI/oyWwQMtQbvfF0NaAsk3LYSpy0="}],"size":2085,"noattachment":false,"key":"/unicode-length/-/unicode-length-2.0.2.tgz"},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unicode-length_2.0.2_1559224918322_0.9162816947150165"},"_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":1559224918408,"_cnpm_publish_time":1559224918408,"dist-tags":{"latest":"2.1.0"}}