{"name":"unicode-length","version":"1.0.3","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":"f0eedb5753ed320a7e195ccd770c52efb5355c8d","bugs":{"url":"https://github.com/jviotti/unicode-length/issues"},"_id":"unicode-length@1.0.3","_shasum":"5ada7a7fed51841a418a328cf149478ac8358abb","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviotti@openmailbox.org"},"dist":{"shasum":"5ada7a7fed51841a418a328cf149478ac8358abb","tarball":"http://registry-npm.ywwl.com/unicode-length/download/unicode-length-1.0.3.tgz","integrity":"sha512-rZKNhIqioUp7H49afr26tivLDCvUSqOXwmwEEnsCwnPX67S1CYbOL45Y5IP3K/XHN73/lg21HlrB8SNlYXKQTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH1E2i5cIoD7K4gCGWTsw2UZq6UuX9orVNspV/ff4urdAiAtNVCTDxSYELYf7rOoz6HjNX36QJG6x0DwlQDPc6XREw=="}],"size":1586,"noattachment":false,"key":"/unicode-length/-/unicode-length-1.0.3.tgz"},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/unicode-length-1.0.3.tgz_1472049119656_0.21989301685243845"},"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":1472049119918,"_cnpm_publish_time":1472049119918,"dist-tags":{"latest":"2.1.0"}}