{"name":"dashify","description":"Convert a camelcase or space-separated string to a dash-separated string. ~12 sloc, fast, supports diacritics.","version":"2.0.0","homepage":"https://github.com/jonschlinkert/dashify","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Jeffrey Priebe","url":"https://github.com/jeffreypriebe"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"},{"name":"Ondrej Brinkel","url":"https://www.anzui.de"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/dashify.git"},"bugs":{"url":"https://github.com/jonschlinkert/dashify/issues"},"license":"MIT","main":"index.js","engines":{"node":">=4"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^2.0.0","mocha":"^5.2.0"},"keywords":["dash","dashcase","dasherize","dashify","slug","slugify"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"description":"Other awesome string libs you might like:","list":["pascalcase","romanize","word-wrap","wordcount"]},"lint":{"reflinks":true}},"gitHead":"50c07a30e4fe8a9e61554b4a38366c8627a9df2d","_id":"dashify@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"integrity":"sha512-hpA5C/YrPjucXypHPPc0oJ1l9Hf6wWbiOL7Ik42cxnsUOhWiCB/fylKbKqqJalW9FgkNQCw16YO8uW9Hs0Iy1A==","shasum":"fff270ca2868ca427fee571de35691d6e437a648","tarball":"http://registry-npm.ywwl.com/dashify/download/dashify-2.0.0.tgz","fileCount":4,"unpackedSize":7268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb85AYCRA9TVsSAnZWagAA2RwP/juD5ycmcqQhG2xffWRW\nZ5vYs7znUI3NW5a4uTkAwRjSticygZR8RcyOVIziiWc6RQ04rBmpFTq2K4zc\nPPD5n2qvUMghV3AiIIZ+LxCTj8WVn+uxtyzoAPGq0HJ3v3Ara8Gpd6+4g3vw\n34K2pMfw0u/L7TXDw6qn4mCo8ix09ajw+DOQ0/FLnKG1rJh6SVmdYrLsOtJE\nBn//jIm7PsgPb9jlnJpRX+KteVxRclUwmp34lBwYaFMcYcpdJRmnbPSBYa3I\nRs06lVE2qS3vZrZ58+P7IO+9U/HzohFIHggxORE8DD4qiQZHiLnOVK2hP7Y6\nwr9p5TbntE0P8JrKKgEZFVOzTDZ+rxNXRd6C85AAeCXtqv5KaVUuPEs1ZbHx\nYL9oWlA6tsSAHP7sVbTlkC2+kMCU/HfbZaoVIdSj0j25ow2c8dqmhZlCBlQZ\nADKZWwzZwmvQdUUr4bw0qXxHMPx7czOfMbp2R4ic6r0m5upjvWw9aReIujIh\nTJLjI86Ro3GbdC8HAH3qms+08E8EMT/yVSSbp0/M4VNYRhIypAm5HoT/i9uv\nWEnTzQSYp44aF2u+SDuw1Mj/rcsbmWO8WUN3q3o9mgO8YcbbhdMkw7S6UGT/\ndFf1qF8LWpeFJoVlyTVAGHCW+NsBOr4SBO4wFnZSlOcdwTLPHpmbnMfW4yuE\nn1kd\r\n=jXTV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGIbUwqLGSAd0vpR+3AsbsTkYHUzIUkLMUxo03YWXpsCAiBsyfI5M0yIglw9wf1SC9JXd1iZTjyfHuCnK72kBGjjQw=="}],"size":3044,"noattachment":false,"key":"/dashify/-/dashify-2.0.0.tgz"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dashify_2.0.0_1542688791545_0.6065355929714837"},"_hasShrinkwrap":false,"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":1542688791790,"_cnpm_publish_time":1542688791790,"dist-tags":{"latest":"2.0.0"}}