{"name":"unicode-length","version":"1.0.2","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":"^2.0.0","strip-ansi":"^3.0.1"},"gitHead":"ac7ec6e3dc1278d1cfdcd7a3bfcd66db0a4f131e","bugs":{"url":"https://github.com/jviotti/unicode-length/issues"},"_id":"unicode-length@1.0.2","_shasum":"514b329d63cbc43b0114b3f6b4a5a2b3cc1c730d","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.1.0","_npmUser":{"name":"jviotti","email":"jviottidc@gmail.com"},"dist":{"shasum":"514b329d63cbc43b0114b3f6b4a5a2b3cc1c730d","tarball":"http://registry-npm.ywwl.com/unicode-length/download/unicode-length-1.0.2.tgz","integrity":"sha512-Oohfh1N74tiCUMd5vM0jGX3hET15FJj8Eo44ET1n4bGrSxXke8/m13v61rwzzJDHhyQF1xkgW02nqDvGtm3BxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0dhQdFmDISsGIIs5/O7HVAmpj1wwYsaz/BErpsQHqUAIgGL/A5Ep/dG7S98ERbMBQyFQS+wy+JRMaGXTMit/qBJk="}],"size":1583,"noattachment":false,"key":"/unicode-length/-/unicode-length-1.0.2.tgz"},"maintainers":[{"name":"jviotti","email":"juanchiviotti@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/unicode-length-1.0.2.tgz_1471391452598_0.3869380452670157"},"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":1471391456422,"_cnpm_publish_time":1471391456422,"dist-tags":{"latest":"2.1.0"}}