{"_id":"slugg","_rev":"22-dd4c2a2135796997e71e4ee1661ff542","name":"slugg","description":"Make strings url safe (with no dependencies)","dist-tags":{"latest":"1.2.1"},"versions":{"0.0.0":{"name":"slugg","version":"0.0.0","description":"Make strings url safe (with no dependencies)","keywords":["slug","url","string"],"main":"slugg.js","scripts":{"test":"./node_modules/.bin/mocha test -R spec"},"devDependencies":{"mocha":"~1.7"},"repository":{"type":"git","url":"git@github.com:bengourley/slugg.git"},"author":{"name":"Ben Gourley"},"license":"BSD","_id":"slugg@0.0.0","dist":{"shasum":"66ebc80ba14580eadf510a03d5cd8e83f31a327c","tarball":"https://registry.npmjs.org/slugg/-/slugg-0.0.0.tgz","integrity":"sha512-0mVn06WlToLS8O7aOURjOVZdiEHfdut+aRHlvrY3yVaAoa54cblw4aXAGfWEtp5DLc0Hx16cJxPll0E/KPdEMA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKsqoFDqXCMp+d74P3z6V+iTwWhyrN8MfSc6PTRKYv8AIgfIpV2Iw3QrLZj5WOltvE5r8vJjhNwDF1e6WNFg3jxqM="}]},"_npmVersion":"1.1.63","_npmUser":{"name":"bengourley","email":"benleighgourley@gmail.com"},"maintainers":[{"name":"bengourley","email":"benleighgourley@gmail.com"}]},"0.0.1":{"name":"slugg","version":"0.0.1","description":"Make strings url safe (with no dependencies)","keywords":["slug","url","string"],"main":"slugg.js","scripts":{"test":"./node_modules/.bin/mocha test -R spec"},"devDependencies":{"mocha":"~1.7"},"repository":{"type":"git","url":"git@github.com:bengourley/slugg.git"},"author":{"name":"Ben Gourley"},"license":"BSD","_id":"slugg@0.0.1","dist":{"shasum":"f3ee58b8756def5e51e15c396ade502ccf396ec6","tarball":"https://registry.npmjs.org/slugg/-/slugg-0.0.1.tgz","integrity":"sha512-cfZ4TPbjn0pT0avRUKEtmQrHnelv6pH7N51N0dT+2eTHyx3+nQNgUzyao+sRhAoqfphtB19p9iEL8p9CoLREuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFtvxJnO1aUtUBvesY5xAhmJX5afgzHamdijdwD16m6hAiEAiOlXBaehf+DtfM2qBwge1TsojRudgJH8MnYKX412U8E="}]},"_npmVersion":"1.1.63","_npmUser":{"name":"bengourley","email":"benleighgourley@gmail.com"},"maintainers":[{"name":"bengourley","email":"benleighgourley@gmail.com"}]},"0.1.0":{"name":"slugg","version":"0.1.0","description":"Make strings url safe (with no dependencies)","keywords":["slug","url","string"],"main":"slugg.js","scripts":{"test":"./node_modules/.bin/mocha test -R spec"},"devDependencies":{"mocha":"~1.7"},"repository":{"type":"git","url":"git@github.com:bengourley/slugg.git"},"author":{"name":"Ben Gourley"},"license":"BSD","_id":"slugg@0.1.0","dist":{"shasum":"19d4f88ffb72d848f2cfe301e5963ae41a6ec827","tarball":"https://registry.npmjs.org/slugg/-/slugg-0.1.0.tgz","integrity":"sha512-qvSTW4MZrelDBiqRGABQWHSOrsi0ugdH9ZFIxdrY/6mOGE/FvMPPUV3s88Oe8BnG48p9rElhXlWpkmpnT/mRdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFv6wrvVHqSB9xcVoFezOxHNshdGKiDDjlL50sKEyRhcAiEA0MFars8rLLUcwbCrefsi93M+DzmhBYbUh0rcCxO+ZD0="}]},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"bengourley","email":"bn@grly.me"},"maintainers":[{"name":"bengourley","email":"benleighgourley@gmail.com"}]},"0.1.1":{"name":"slugg","version":"0.1.1","description":"Make strings url safe (with no dependencies)","keywords":["slug","url","string"],"main":"slugg.js","scripts":{"test":"./node_modules/.bin/mocha test -R spec","test-browser":"./node_modules/.bin/mocha-srv test"},"devDependencies":{"mocha":"~1.7","mocha-srv":"~0.1","proclaim":"~1.2"},"repository":{"type":"git","url":"git@github.com:bengourley/slugg.git"},"author":{"name":"Ben Gourley"},"license":"BSD","_id":"slugg@0.1.1","dist":{"shasum":"ea605280110d76848adcf1a55c8b19589b396522","tarball":"https://registry.npmjs.org/slugg/-/slugg-0.1.1.tgz","integrity":"sha512-2GcA54M5lFWMM5D3c6UoC+L2JBiyeSYBRMkOjqFKDsSu10OzxDn9/pNS+0Pmr8RLtXncSr2gtDBfOX+UX8pZpA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDy2OU2x5FuqKWYL9bogIDWi4B/O1QeDdwYi0b2WzBk+AiAP1WS43/Cx2uWjyH7cNtxauCoO0cB2B5p/wvpowR28ow=="}]},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"bengourley","email":"bn@grly.me"},"maintainers":[{"name":"bengourley","email":"benleighgourley@gmail.com"}]},"0.1.2":{"name":"slugg","version":"0.1.2","description":"Make strings url safe (with no dependencies)","keywords":["slug","url","string"],"main":"slugg.js","scripts":{"test":"./node_modules/.bin/mocha test -R spec","test-browser":"./node_modules/.bin/mocha-srv test"},"devDependencies":{"mocha":"~1.7","mocha-srv":"~0.1","proclaim":"~1.2"},"repository":{"type":"git","url":"git@github.com:bengourley/slugg.git"},"author":{"name":"Ben Gourley"},"license":"BSD","_id":"slugg@0.1.2","dist":{"shasum":"3a2a65baaf24c0f62eaac8acf243740a379072b5","tarball":"https://registry.npmjs.org/slugg/-/slugg-0.1.2.tgz","integrity":"sha512-WiOGSq1OPXvHeAlAblod1NIJsg2ILjSlT+j31kU0fI48lgdmF6zLsIf0nqtk0NW2GlkkkZC7XPYZ4li8odtKjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICUsb0M9J3mlraerswVAc5b4k4y65gU8P4fEw1fUnmvwAiBXReoQWianUwfikLxv2hKv7L7FMqm4vmy+xM0N1mttjQ=="}]},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"bengourley","email":"bn@grly.me"},"maintainers":[{"name":"bengourley","email":"benleighgourley@gmail.com"}]},"1.0.0":{"name":"slugg","version":"1.0.0","description":"Make strings url safe (with no dependencies)","keywords":["slug","url","string"],"main":"slugg.js","scripts":{"test":"mocha test -R spec","test-browser":"mocha-srv test"},"devDependencies":{"mocha":"~1.7","mocha-srv":"~0.1","proclaim":"~1.2"},"repository":{"type":"git","url":"git+ssh://git@github.com/bengourley/slugg.git"},"author":{"name":"Ben Gourley"},"license":"BSD","gitHead":"edd9da4e571233d99e3928c09791e14b085c116e","bugs":{"url":"https://github.com/bengourley/slugg/issues"},"homepage":"https://github.com/bengourley/slugg#readme","_id":"slugg@1.0.0","_shasum":"d7dfc3bed51722b62272d9d908647913118893d8","_from":".","_npmVersion":"2.14.8","_nodeVersion":"0.10.40","_npmUser":{"name":"bengourley","email":"bn@grly.me"},"dist":{"shasum":"d7dfc3bed51722b62272d9d908647913118893d8","tarball":"https://registry.npmjs.org/slugg/-/slugg-1.0.0.tgz","integrity":"sha512-rGjFldArvROCfaggpddsYYHgxgRjrlDdOP544m5n85g3J5+4yIwp+jSTaO/6Bu/xvFzeboSHQ1t3qM17d+8bHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF8C4GS3f33ERR41j7mV1G4/5G1tlb2I0Xl1HKp0/yB5AiEAu0PKnryx7AWVhRQFgk5e/PHN3TGrzFVxUEJF0fFwFcI="}]},"maintainers":[{"name":"bengourley","email":"benleighgourley@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/slugg-1.0.0.tgz_1455878925282_0.024217616068199277"}},"1.1.0":{"name":"slugg","version":"1.1.0","description":"Make strings url safe (with no dependencies)","publishConfig":{"registry":"http://registry.npmjs.org/"},"keywords":["slug","url","string"],"main":"slugg.js","scripts":{"test":"mocha test -R spec","test-browser":"mocha-srv test"},"devDependencies":{"mocha":"~1.7","mocha-srv":"~0.1","proclaim":"~1.2"},"repository":{"type":"git","url":"git+ssh://git@github.com/bengourley/slugg.git"},"author":{"name":"Ben Gourley"},"license":"BSD","gitHead":"f62306fa8712fa5008e26169e16ce282e241c5c6","bugs":{"url":"https://github.com/bengourley/slugg/issues"},"homepage":"https://github.com/bengourley/slugg#readme","_id":"slugg@1.1.0","_shasum":"4832e29b42d71edaec5b18691347651d75a52e6c","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"bengourley","email":"bn@grly.me"},"dist":{"shasum":"4832e29b42d71edaec5b18691347651d75a52e6c","tarball":"https://registry.npmjs.org/slugg/-/slugg-1.1.0.tgz","integrity":"sha512-tGBELCbr/CnyZ0Zt1nTYX2fwygwum/POxubWIGNtYdBjGBThBN1jA+TRyE7Nvo9y+lUi2fNpySruX14TK+JAAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBaBH6IHlYVWAH65V/Kfby/p6BfSG5q95gd5ecU78G5nAiEAgYFSl/PbO3qSfuFgC9+SNcVrKicvR8dIWkhYwHWzJ10="}]},"maintainers":[{"name":"bengourley","email":"benleighgourley@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/slugg-1.1.0.tgz_1480514929375_0.3624058326240629"}},"1.2.0":{"name":"slugg","version":"1.2.0","description":"Make strings url safe (with no dependencies)","publishConfig":{"registry":"http://registry.npmjs.org/"},"keywords":["slug","url","string"],"main":"slugg.js","scripts":{"test":"mocha test -R spec","test-browser":"mocha-srv test"},"devDependencies":{"mocha":"~1.7","mocha-srv":"~0.1","proclaim":"~1.2"},"repository":{"type":"git","url":"git+ssh://git@github.com/bengourley/slugg.git"},"author":{"name":"Ben Gourley"},"license":"BSD","gitHead":"af1146b704147c2fcf2f8a838dbc30f25bdf6f21","bugs":{"url":"https://github.com/bengourley/slugg/issues"},"homepage":"https://github.com/bengourley/slugg#readme","_id":"slugg@1.2.0","_shasum":"c09b03aba3a43030854a601db7ace037dab769b4","_from":".","_npmVersion":"4.0.5","_nodeVersion":"6.3.1","_npmUser":{"name":"bengourley","email":"bn@grly.me"},"dist":{"shasum":"c09b03aba3a43030854a601db7ace037dab769b4","tarball":"https://registry.npmjs.org/slugg/-/slugg-1.2.0.tgz","integrity":"sha512-2XlabY74C9eeyxpYedd/wnNirNijKvAgSfF5/ygIQVHTAua4moTUFFL8RtsLG7sPTIb0WYPi065hX9sGoHOAVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHt0PXFK4rzHTROtVmnbIcjnd40uw3YIyVM5fCMh4G8CAiEA8Jn5eeKZoR8QLUgO3S1EWx/MCqlZgSB6eHvp0x+75Nc="}]},"maintainers":[{"name":"bengourley","email":"benleighgourley@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/slugg-1.2.0.tgz_1489581754115_0.9797157689463347"}},"1.2.1":{"name":"slugg","version":"1.2.1","description":"Make strings url safe (with no dependencies)","publishConfig":{"registry":"http://registry.npmjs.org/"},"keywords":["slug","url","string"],"main":"slugg.js","scripts":{"test":"mocha test -R spec","test-browser":"mocha-srv test"},"devDependencies":{"mocha":"~1.7","mocha-srv":"~0.1","proclaim":"~1.2"},"repository":{"type":"git","url":"git+ssh://git@github.com/bengourley/slugg.git"},"author":{"name":"Ben Gourley"},"license":"BSD","gitHead":"420e55fba56f0e8990cb81ec3521a0b55ded6814","bugs":{"url":"https://github.com/bengourley/slugg/issues"},"homepage":"https://github.com/bengourley/slugg#readme","_id":"slugg@1.2.1","_shasum":"e752af2241af3f2714463c5de225cea47608740a","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.3.1","_npmUser":{"name":"bengourley","email":"bn@grly.me"},"dist":{"shasum":"e752af2241af3f2714463c5de225cea47608740a","tarball":"https://registry.npmjs.org/slugg/-/slugg-1.2.1.tgz","integrity":"sha512-yzUY7d53sdY3wp6rGCc54fn+cel0aNsdG5lvRVN8bvlAXYQI2fIo36AAOVjArOaMzlidHYyAYqriHzuos93h+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuSmOEDX/GCWJZPLGHXXBHI4rCRoE6+FWjG0qw350YwgIhAKyKvm1tZ/aXKrzEPTqHyUQPPoM3CWDaOldCgKt81v2w"}]},"maintainers":[{"name":"bengourley","email":"benleighgourley@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/slugg-1.2.1.tgz_1496220489772_0.430999101838097"}}},"readme":"# Slugg\n\nMake strings url-safe.\n\n- Comprehensive tests\n- No dependencies\n- Not in coffee-script (lol)\n- Coerces foreign symbols to their english equivalent\n- Doesn't try to do anything fancy with symbols (just removes them)\n- Works in browser (`window.slugg`) and AMD/CommonJS-flavoured module loaders\n\n```\nnpm install slugg\n```\n\n## Usage:\n\n### slug(string, [separator, toStrip])\n\n```js\nvar slug = require('slugg')\n\nslug('My fantastic blog post')\n//-> 'my-fantastic-blog-post'\n\nslug('Today I found £5')\n//-> 'today-i-found-5'\n\nslug('I ♥ you')\n//-> 'i-you'\n```\n\nIf you want a separator other than '-', pass it in as the second argument:\n\n```js\nslug('Kevin Spacey', ' ')\n//-> 'kevin spacey'\n```\n\nBy default, slugg will strip (i.e. remove and not replace) any sort of quotemark: `'\"’‘”“`.\n\nIf you want to control which characters are stripped, pass a regex as the last option\nthat will match the chars you want to replace, eg:\n\n```js\nslug('Mum\\'s cooking', /'/g)\n//-> 'mums-cooking'\n```\n\nRemember to use the `g` flag if you want all the matches stripped (not just the first).\n\nAfter version 1.1.0, a new syntax has been introduced:\n\n### slug(string, [options])\n\nIf you want a separator other than '-', pass it in as the `separator` option:\n\n```js\nslug('Kevin Spacey', { separator: ' ' })\n//-> 'kevin spacey'\n```\n\nIf you want to control which characters are stripped, pass a regex as the `toStrip` option\nthat will match the chars you want to replace, eg:\n\n```js\nslug('Mum\\'s cooking', { toStrip: /'/g })\n//-> 'mums-cooking'\n```\nRemember to use the `g` flag if you want all the matches stripped (not just the first).\n\nBy default, slugg will convert your string to lower case. If you want to disable it just\npass the `toLowerCase` option as `false`, eg:\n\n```js\nslug('Slugg rocks!', { toLowerCase: false })\n//-> 'Slugg-rocks'\n```\n","maintainers":[{"name":"bengourley","email":"benleighgourley@gmail.com"}],"time":{"modified":"2022-06-26T21:03:52.639Z","created":"2012-11-30T23:05:24.043Z","0.0.0":"2012-11-30T23:05:25.975Z","0.0.1":"2012-12-03T07:46:27.171Z","0.1.0":"2013-04-22T11:20:47.228Z","0.1.1":"2013-06-14T09:02:30.099Z","0.1.2":"2013-06-24T08:47:01.478Z","1.0.0":"2016-02-19T10:48:49.561Z","1.1.0":"2016-11-30T14:08:51.209Z","1.2.0":"2017-03-15T12:42:34.776Z","1.2.1":"2017-05-31T08:48:10.774Z"},"author":{"name":"Ben Gourley"},"repository":{"type":"git","url":"git+ssh://git@github.com/bengourley/slugg.git"},"homepage":"https://github.com/bengourley/slugg#readme","keywords":["slug","url","string"],"bugs":{"url":"https://github.com/bengourley/slugg/issues"},"license":"BSD","readmeFilename":"Readme.md","users":{"mikeljames":true,"uh-engineer":true,"crankincrankin":true,"martinspinks":true,"chalassa":true}}