{"name":"unicode-length","version":"1.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":"juanchiviotti@gmail.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":"^1.3.2","strip-ansi":"^3.0.1"},"gitHead":"93ea76df848251efc9710f02fb4c1d373b1f45cf","bugs":{"url":"https://github.com/jviotti/unicode-length/issues"},"_id":"unicode-length@1.0.1","_shasum":"5432aaac2fc961232d390ae83e3a74e9e7339c20","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"5432aaac2fc961232d390ae83e3a74e9e7339c20","tarball":"http://registry-npm.ywwl.com/unicode-length/download/unicode-length-1.0.1.tgz","integrity":"sha512-YLYApg0UGjqiPPiBfkPVZ4SyjN2BYd99K8thVbhSNF3orq4rkXswCbyK7eS+23Nf9rpvcBd91TJt8J9oBDTJ7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBwPyzCT5LgCGLfeN57oPN9W4m8J23YKvYCbUn2Eq5kgIhAMnow3KdiYgLkqQv/SZbr3tZ52OdwRwkAW8KyHTicYyh"}],"size":1582,"noattachment":false,"key":"/unicode-length/-/unicode-length-1.0.1.tgz"},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/unicode-length-1.0.1.tgz_1468891323600_0.6456862580962479"},"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":1468891325786,"_cnpm_publish_time":1468891325786,"dist-tags":{"latest":"2.1.0"}}