{"name":"dashify","description":"Convert a camelcase or space-separated string to a dash-separated string.","version":"0.2.2","homepage":"https://github.com/jonschlinkert/dashify","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/dashify.git"},"bugs":{"url":"https://github.com/jonschlinkert/dashify/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^0.1.9","mocha":"^2.5.1"},"keywords":["dash","dashcase","dasherize","dashify","slug","slugify"],"verb":{"related":{"list":["pascalcase","romanize","word-wrap","wordcount"],"description":"Some other awesome string libs:"},"plugins":["gulp-format-md"]},"gitHead":"625e91f6df57f03910003a92ea5d76c1fa70639f","_id":"dashify@0.2.2","_shasum":"6a07415a01c91faf4a32e38d9dfba71f61cb20fe","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"6a07415a01c91faf4a32e38d9dfba71f61cb20fe","tarball":"http://registry-npm.ywwl.com/dashify/download/dashify-0.2.2.tgz","integrity":"sha512-7aBHFN1N7+TqJ/DIRE/gRXqKccz7zXSsYVGg4+AdGK5JYcQI4EXrN4WLHLIJLBdIISOmFwkuTdEGAT7KCeYnCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBCnGD+ja+1MJ7IfPc2yXrPM0PhG+NbOjzn+hD99Q/yiAiEAqMcokC2AV4zFHdYGah7vdDIky5DYDA8X4kkrO5Djwrg="}],"size":2295,"noattachment":false,"key":"/dashify/-/dashify-0.2.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/dashify-0.2.2.tgz_1464017189009_0.5138110853731632"},"directories":{},"readme":"# dashify [![NPM version](https://img.shields.io/npm/v/dashify.svg?style=flat)](https://www.npmjs.com/package/dashify) [![NPM monthly downloads](https://img.shields.io/npm/dm/dashify.svg?style=flat)](https://npmjs.org/package/dashify) [![NPM total downloads](https://img.shields.io/npm/dt/dashify.svg?style=flat)](https://npmjs.org/package/dashify) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/dashify.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/dashify)\n\n> Convert a camelcase or space-separated string to a dash-separated string. ~12 sloc, fast, supports diacritics.\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save dashify\n```\n\n## Why another dashify lib?\n\nMost slugify libs cover way too many corner cases and are bloated and slow as a result. I made this as a fast and light alternative (it even supports diacritics in ~12 sloc).\n\n## Usage\n\n```js\nvar dashify = require('dashify');\n\nconsole.log(dashify('fooBar'));\n//=> 'foo-bar'\n\nconsole.log(dashify('fooBarBaz'));\n//=> 'foo-bar-baz'\n\nconsole.log(dashify('foo bar'));\n//=> 'foo-bar'\n\nconsole.log(dashify('foo barBaz'));\n//=> 'foo-bar-baz'\n\nconsole.log(dashify('foo barBaz quux'));\n//=> 'foo-bar-baz-quux'\n\nconsole.log(dashify('São Tomé and Príncipe'));\n//=> 'são-tomé-and-príncipe'\n```\n\n## options.condense\n\n**Type:** `boolean`\n\n**Default**: `undefined`\n\nCondense multiple consecutive dashes to one.\n\n```js\nconsole.log(dashify('Foo----Bar'));\n//=> 'foo----bar'\n\nconsole.log(dashify('Foo----Bar', {condense: true}));\n//=> 'foo-bar'\n```\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n</details>\n\n### Related projects\n\nOther awesome string libs you might like:\n\n* [pascalcase](https://www.npmjs.com/package/pascalcase): Convert a string to pascal-case. | [homepage](https://github.com/jonschlinkert/pascalcase \"Convert a string to pascal-case.\")\n* [romanize](https://www.npmjs.com/package/romanize): Convert numbers to roman numerals (useful for books, outlines, documentation, slide decks, etc) | [homepage](https://github.com/jonschlinkert/romanize \"Convert numbers to roman numerals (useful for books, outlines, documentation, slide decks, etc)\")\n* [word-wrap](https://www.npmjs.com/package/word-wrap): Wrap words to a specified length. | [homepage](https://github.com/jonschlinkert/word-wrap \"Wrap words to a specified length.\")\n* [wordcount](https://www.npmjs.com/package/wordcount): Count the words in a string. Support for english, CJK and Cyrillic. | [homepage](https://github.com/jonschlinkert/wordcount \"Count the words in a string. Support for english, CJK and Cyrillic.\")\n\n### Contributors\n\n| **Commits** | **Contributor** |  \n| --- | --- |  \n| 23 | [jonschlinkert](https://github.com/jonschlinkert) |  \n| 1  | [der-On](https://github.com/der-On) |  \n| 1  | [jeffreypriebe](https://github.com/jeffreypriebe) |  \n\n### Author\n\n**Jon Schlinkert**\n\n* [GitHub Profile](https://github.com/jonschlinkert)\n* [Twitter Profile](https://twitter.com/jonschlinkert)\n* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)\n\n### License\n\nCopyright © 2018, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on November 19, 2018._","publish_time":1464017191422,"_cnpm_publish_time":1464017191422,"dist-tags":{"latest":"2.0.0"}}