{"name":"uslug","version":"1.0.2","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://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"}],"_npmUser":{"name":"jeremys","email":"jerem.selier@gmail.com"},"_id":"uslug@1.0.2","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-3","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"1465a6cb5c7881aa86d0dffd04fc474780bb932f","tarball":"http://registry-npm.ywwl.com/uslug/download/uslug-1.0.2.tgz","integrity":"sha512-cBuMCgAA4QPCjBQShQcner+sEndiqe0/h4Tg1JBHwd7KF+Z+fhtIbSfLhVN+9/46hmtadH4LowdXuRkKutv5Ig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8/rkLzgpMe4dMFNQESRfIgdbAtJiXSSjTx2AucghldAiEA0aOEs78hnbkUC6hPueFwv6Tw8uicA0crGr2cvHBZ0Ok="}],"size":43782,"noattachment":false,"key":"/uslug/-/uslug-1.0.2.tgz"},"maintainers":[{"name":"jeremys","email":"jerem.selier@gmail.com"}],"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":1328114549714,"_cnpm_publish_time":1328114549714,"dist-tags":{"latest":"1.0.4"}}