{"name":"unicode-length","version":"2.0.1","description":"Get the length of unicode strings","main":"build/unicode-length.js","files":["build/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":{"test":"gulp test","prepublish":"gulp build"},"author":{"name":"Juan Cruz Viotti","email":"jv@jviotti.com"},"license":"MIT","devDependencies":{"chai":"~1.10.0","coffee-script":"~1.8.0","gulp":"~3.8.10","gulp-coffee":"~2.2.0","gulp-coffeelint":"~0.4.0","gulp-mocha":"~2.0.0","gulp-util":"~3.0.1","mocha":"~2.0.1","sinon":"~1.12.2","sinon-chai":"~2.6.0"},"dependencies":{"punycode":"^2.0.0","strip-ansi":"^3.0.1"},"gitHead":"b809ed02267356b0ce8e5aa6e44e4ddc02a5f887","bugs":{"url":"https://github.com/jviotti/unicode-length/issues"},"_id":"unicode-length@2.0.1","_shasum":"84ddc309c2323635f642e86d448e9eaec084c04a","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"84ddc309c2323635f642e86d448e9eaec084c04a","tarball":"http://registry-npm.ywwl.com/unicode-length/download/unicode-length-2.0.1.tgz","integrity":"sha512-wFnhT7q+Rw+EGsZQW9KtQpENfdU0TuoM+SJoxPrcHDOS0bDHkB3zVHQU7/zqPbTR6kl+ecT9y1F9Tvi6xsd48w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICxvmZ922QyiEnXU+eaBFuvFHEAid7eOD5KC+aGA8T7MAiB/WSZOyODmc5yQKZ6LPPfQsC6qCh8yyhORkfySW/7rSg=="}],"size":2098,"noattachment":false,"key":"/unicode-length/-/unicode-length-2.0.1.tgz"},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unicode-length-2.0.1.tgz_1502123674503_0.9242851508315653"},"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":1502123674591,"_cnpm_publish_time":1502123674591,"dist-tags":{"latest":"2.1.0"}}