{"name":"unicode-length","version":"1.0.0","description":"Get the length of unicode strings","main":"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":{"chalk":"^1.0.0","lodash":"^3.7.0","punycode":"^1.3.2"},"gitHead":"9f45d8bc0459205b9b8af351c2e70d230f0e6ab1","bugs":{"url":"https://github.com/jviotti/unicode-length/issues"},"_id":"unicode-length@1.0.0","_shasum":"cc2eb5eecb5443607b02705c0d5facf7100d434f","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.24","_npmUser":{"name":"jviotti","email":"juanchiviotti@gmail.com"},"dist":{"shasum":"cc2eb5eecb5443607b02705c0d5facf7100d434f","tarball":"http://registry-npm.ywwl.com/unicode-length/download/unicode-length-1.0.0.tgz","integrity":"sha512-FjTMbZaj2gGSr1si27E+jiVO5Vs5X/WW6X0vyD2mtmKxP4cHKSAKcAQp7Fi22FbanN+ckZgz+Xm7RDHPqr25dw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaWbeUvGcnQtVt8K+sep5IsdirTEl0YraBNX7IHToAmAIgar6ZtaROyz8VW9Vn4urAkjK94O2aimHMrSO6yXx5u54="}],"size":4174,"noattachment":false,"key":"/unicode-length/-/unicode-length-1.0.0.tgz"},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"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":1430163133507,"_cnpm_publish_time":1430163133507,"dist-tags":{"latest":"2.1.0"}}