{
"_args": [
[
{
"raw": "slugify@^1.0.2",
"scope": null,
"escapedName": "slugify",
"name": "slugify",
"rawSpec": "^1.0.2",
"spec": ">=1.0.2 <2.0.0",
"type": "range"
},
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/xdl"
]
],
"_from": "slugify@>=1.0.2 <2.0.0",
"_id": "slugify@1.2.9",
"_inCache": true,
"_location": "/slugify",
"_nodeVersion": "8.1.2",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/slugify-1.2.9.tgz_1514637806712_0.09512258437462151"
},
"_npmUser": {
"name": "simov",
"email": "simeonvelichkov@gmail.com"
},
"_npmVersion": "5.6.0",
"_phantomChildren": {},
"_requested": {
"raw": "slugify@^1.0.2",
"scope": null,
"escapedName": "slugify",
"name": "slugify",
"rawSpec": "^1.0.2",
"spec": ">=1.0.2 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/xdl"
],
"_resolved": "https://registry.npmjs.org/slugify/-/slugify-1.2.9.tgz",
"_shasum": "c3d518f5136b3c69345d5d0bbbcde7412b5694aa",
"_shrinkwrap": null,
"_spec": "slugify@^1.0.2",
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/xdl",
"author": {
"name": "Simeon Velichkov",
"email": "simeonvelichkov@gmail.com",
"url": "https://simov.github.io"
},
"bugs": {
"url": "https://github.com/simov/slugify/issues"
},
"dependencies": {},
"description": "Slugifies a String",
"devDependencies": {
"coveralls": "^2.11.15",
"eslint": "^3.12.2",
"eslint-config-standard": "^6.2.1",
"eslint-plugin-promise": "^3.4.0",
"eslint-plugin-standard": "^2.0.1",
"istanbul": "^0.4.5",
"mocha": "^3.2.0"
},
"directories": {},
"dist": {
"integrity": "sha512-n0cdJ+kN3slJu8SbZXt/EHjljBqF6MxvMGSg/NPpBzoY7yyXoH38wp/ox20a1JaG1KgmdTN5Lf3aS9+xB2Y2aQ==",
"shasum": "c3d518f5136b3c69345d5d0bbbcde7412b5694aa",
"tarball": "https://registry.npmjs.org/slugify/-/slugify-1.2.9.tgz"
},
"engines": {
"node": ">=4.0.0"
},
"files": [
"LICENSE",
"README.md",
"index.d.ts",
"index.js"
],
"gitHead": "ac8a9cf2a62a9f09d02516c208ed2f6283ac7cb2",
"homepage": "https://github.com/simov/slugify",
"keywords": [
"slugify",
"slug",
"url",
"urlify"
],
"license": "MIT",
"main": "./index.js",
"maintainers": [
{
"name": "simov",
"email": "simeonvelichkov@gmail.com"
}
],
"name": "slugify",
"optionalDependencies": {},
"readme": "\n# slugify\n\n[![npm-version]][npm] [![travis-ci]][travis] [![coveralls-status]][coveralls]\n\n```js\nvar slugify = require('slugify')\n\nslugify('some string') // some-string\n\n// if you prefer something other than '-' as separator\nslugify('some string', '_') // some_string\n```\n\n- Vanilla ES5 JavaScript\n- No dependencies\n- Coerces foreign symbols to their english equivalent (check out the `charMap` in [index.js][index] for more details)\n- Works in the browser (window.slugify) and AMD/CommonJS-flavored module loaders\n\n## Options\n\n```js\nslugify('some string', {\n replacement: '-', // replace spaces with replacement\n remove: null, // regex to remove characters\n lower: true // result in lower case\n})\n```\n\nFor example to remove `*+~.()'\"!:@` from the result slug, you can use `slugify('..', {remove: /[$*_+~.()'\"!\\-:@]/g})`\n\n## Extend\n\nOut of the box `slugify` comes with support for a handfull of Unicode symbols. For example the `☢` (radioactive) symbol is not defined in the `charMap` object in [index.js][index] and therefore it will be stripped by default:\n\n```js\nslugify('unicode ♥ is ☢') // unicode-love-is\n```\n\nHowever you can extend the supported symbols, or override the existing ones with your own:\n\n```js\nslugify.extend({'☢': 'radioactive'})\nslugify('unicode ♥ is ☢') // unicode-love-is-radioactive\n```\n\nKeep in mind that the `extend` method extends/overrides the default `charMap` for the entire process. In case you need a fresh instance of the slugify's `charMap` object you have to clean up the module cache first:\n\n```js\ndelete require.cache[require.resolve('slugify')]\nvar slugify = require('slugify')\n```\n\n## Contribute\n\n1. Add chars to `charmap.json`\n2. Run tests `npm test`\n3. The tests will build the charmap in `index.js` and will sort the `charmap.json`\n4. Commit **all** modified files\n\n---\n\n> This module was originally a vanilla javascript port of [node-slug][node-slug].
\n> Note that the original [slug][slug] module has been ported to vanilla javascript too.
\n> One major difference between the two modules is that `slugify` does not depend on the external [unicode][unicode] module.\n\n\n [npm-version]: https://img.shields.io/npm/v/slugify.svg?style=flat-square (NPM Package Version)\n [travis-ci]: https://img.shields.io/travis/simov/slugify/master.svg?style=flat-square (Build Status - Travis CI)\n [coveralls-status]: https://img.shields.io/coveralls/simov/slugify.svg?style=flat-square (Test Coverage - Coveralls)\n\n [npm]: https://www.npmjs.com/package/slugify\n [travis]: https://travis-ci.org/simov/slugify\n [coveralls]: https://coveralls.io/r/simov/slugify?branch=master\n\n [node-slug]: https://github.com/dodo/node-slug\n [slug]: https://www.npmjs.com/package/slug\n [unicode]: https://www.npmjs.com/package/unicode\n [index]: https://github.com/simov/slugify/blob/master/index.js\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/simov/slugify.git"
},
"scripts": {
"lint": "eslint **/*.js && echo Lint Passed",
"test": "npm run lint && npm run test-ci && echo Tests Passed",
"test-ci": "mocha",
"test-cov": "istanbul cover _mocha"
},
"types": "index.d.ts",
"version": "1.2.9"
}