{"name":"uslug","version":"1.0.4","description":"A permissive slug generator that works with unicode.","author":{"name":"Jeremy Selier","email":"jerem.selier@gmail.com"},"dependencies":{"unorm":">= 1.0.0"},"devDependencies":{"should":">= 0.2.1"},"repository":{"type":"git","url":"git+ssh://git@github.com/jeremys/uslug.git"},"main":"./index","engines":{"node":">= 0.4.0"},"bugs":{"url":"http://github.com/jeremys/uslug/issues"},"licenses":[{"type":"MIT","url":"http://github.com/jeremys/uslug/raw/master/LICENSE"}],"gitHead":"a58c4aedd5e13b2c1ad852d5e776b1e4cd7756c0","homepage":"https://github.com/jeremys/uslug#readme","_id":"uslug@1.0.4","scripts":{},"_shasum":"b9a22f0914e0a86140633dacc302e5f4fa450677","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"jeremys","email":"jerem.selier@gmail.com"},"dist":{"shasum":"b9a22f0914e0a86140633dacc302e5f4fa450677","tarball":"http://registry-npm.ywwl.com/uslug/download/uslug-1.0.4.tgz","integrity":"sha512-Jrbpp/NS3TvIGNjfJT1sn3/BCeykoxR8GbNYW5lF6fUscLkbXFwj1b7m4DvIkHm8k3Qr6Co68lbTmoZTMGk/ow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICdPl8ZLuIokc4AfGAJHDcWWK5/kjhi763KdauqddT14AiEA+YJzZcxWORadV3Tk5Xxu1MbmsXzGWL0pf9db6xy9rIU="}],"size":57907,"noattachment":false,"key":"/uslug/-/uslug-1.0.4.tgz"},"maintainers":[{"name":"jeremys","email":"jerem.selier@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/uslug-1.0.4.tgz_1457473942256_0.9994973179418594"},"directories":{},"readme":"# Uslug.js\n\nPermissive slug generator that works with unicode.\nWe keep only characters from the categories Letter, Number and Separator (see [Unicode Categories](http://www.unicode.org/versions/Unicode6.0.0/ch04.pdf))\nand the common [CJK Unified Ideographs](http://www.unicode.org/versions/Unicode6.0.0/ch12.pdf) as defined in the version 6.0.0 of the Unicode specification.\n\nInspired by [unicode-slugify](https://github.com/mozilla/unicode-slugify).\nNote that this slug generator is different from [node-slug](https://github.com/dodo/node-slug) which focus on translating unicode characters to english or latin equivalent.\n\n\n## Quick Examples\n\n    uslug('Быстрее и лучше!') // 'быстрее-и-лучше'\n    uslug('汉语/漢語') // '汉语漢語'\n\n    uslug('Y U NO', { lower: false })) // 'Y-U-NO'\n    uslug('Y U NO', { spaces: true })) // 'y u no'\n    uslug('Y-U|NO', { allowedChars: '|' })) // 'yu|no'\n\n\n## Installation\n\n    npm install uslug\n\n\n## Options\n\n### uslug(string, options)\n\nGenerate a slug for the string passed.\n\n__Arguments__\n\n* string - The string you want to slugify.\n* options - An optional object that can contain:  \n    * allowedChars: a String of chars that you want to be whitelisted. Default: '-_~'.  \n    * lower: a Boolean to force to lower case the slug. Default: true.  \n    * spaces: a Boolean to allow spaces. Default: false.  \n\n\n## License\n\nThis project is distributed under the MIT License. See LICENSE file for more information.","publish_time":1457473947008,"_cnpm_publish_time":1457473947008,"dist-tags":{"latest":"1.0.4"}}