{"_id":"kebab-hash","_rev":"292203","name":"kebab-hash","description":"Given an input string, convert to kebab-case and append a hash. Avoids kebab case collisions.","dist-tags":{"latest":"0.1.2"},"maintainers":[{"name":"chmac","email":"npmjs.org@callum-macdonald.com"}],"time":{"modified":"2021-06-03T18:52:36.000Z","created":"2018-05-23T14:14:10.026Z","0.1.2":"2018-05-23T14:45:31.837Z","0.1.1":"2018-05-23T14:19:40.713Z","0.1.0":"2018-05-23T14:14:10.026Z"},"users":{},"author":{"name":"Callum Macdonald"},"repository":{"type":"git","url":"git+https://github.com/GatsbyCentral/kebab-hash.git"},"versions":{"0.1.2":{"name":"kebab-hash","version":"0.1.2","description":"Given an input string, convert to kebab-case and append a hash. Avoids kebab case collisions.","files":["lib"],"main":"lib/index.js","scripts":{"prepack":"npm run build","build":"npm run prepack:babel && npm run prepack:flow","prepack:babel":"babel src/ -d lib","prepack:flow":"flow-copy-source src lib","test":"jest src/"},"repository":{"type":"git","url":"git+https://github.com/GatsbyCentral/kebab-hash.git"},"keywords":["kebab","case","kebab","hash"],"author":{"name":"Callum Macdonald"},"license":"MIT","bugs":{"url":"https://github.com/GatsbyCentral/kebab-hash/issues"},"homepage":"https://github.com/GatsbyCentral/kebab-hash#readme","devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-flow-strip-types":"^6.22.0","babel-preset-env":"^1.7.0","flow-bin":"^0.72.0","flow-copy-source":"^1.3.0","jest":"^22.4.4"},"dependencies":{"lodash.kebabcase":"^4.1.1"},"gitHead":"56dee121b8b616d726005ca8b2355c3b7170bb85","_id":"kebab-hash@0.1.2","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"chmac","email":"npmjs.org@callum-macdonald.com"},"dist":{"shasum":"dfb7949ba34d8e70114ea7d83e266e5e2a4abaac","size":2418,"noattachment":false,"key":"/kebab-hash/-/kebab-hash-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/kebab-hash/download/kebab-hash-0.1.2.tgz"},"maintainers":[{"name":"chmac","email":"npmjs.org@callum-macdonald.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/kebab-hash_0.1.2_1527086731702_0.7302402242689348"},"_hasShrinkwrap":false,"publish_time":1527086731837,"_cnpm_publish_time":1527086731837},"0.1.1":{"name":"kebab-hash","version":"0.1.1","description":"Given an input string, convert to kebab-case and append a hash. Avoids kebab case collisions.","files":["lib"],"main":"lib/index.js","scripts":{"prepack":"npm run build","build":"npm run prepack:babel && npm run prepack:flow","prepack:babel":"babel src/ -d lib","prepack:flow":"flow-copy-source src lib","test":"jest src/"},"repository":{"type":"git","url":"git+https://github.com/GatsbyCentral/kebab-hash.git"},"keywords":["kebab","case","kebab","hash"],"author":{"name":"Callum Macdonald"},"license":"MIT","bugs":{"url":"https://github.com/GatsbyCentral/kebab-hash/issues"},"homepage":"https://github.com/GatsbyCentral/kebab-hash#readme","devDependencies":{"babel-cli":"^6.26.0","babel-plugin-transform-flow-strip-types":"^6.22.0","babel-preset-env":"^1.7.0","flow-bin":"^0.72.0","flow-copy-source":"^1.3.0","jest":"^22.4.4"},"dependencies":{"lodash.kebabcase":"^4.1.1"},"gitHead":"950d3263404f7aa6dee591f9af2603bb38b9461e","_id":"kebab-hash@0.1.1","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"chmac","email":"npmjs.org@callum-macdonald.com"},"dist":{"shasum":"fd58b3b07d23dab31f7b796a98717efebd870acc","size":2381,"noattachment":false,"key":"/kebab-hash/-/kebab-hash-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/kebab-hash/download/kebab-hash-0.1.1.tgz"},"maintainers":[{"name":"chmac","email":"npmjs.org@callum-macdonald.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/kebab-hash_0.1.1_1527085180655_0.43564426730433414"},"_hasShrinkwrap":false,"publish_time":1527085180713,"_cnpm_publish_time":1527085180713},"0.1.0":{"name":"kebab-hash","version":"0.1.0","description":"Given an input string, convert to kebab-case and append a hash. Avoids kebab case collisions.","files":["lib"],"main":"lib/index.js","scripts":{"prepack":"npm run build","build":"npm run prepack:babel && npm run prepack:flow","prepack:babel":"babel src/ -d lib","prepack:flow":"flow-copy-source src lib","test":"jest src/"},"repository":{"type":"git","url":"git+https://github.com/GatsbyCentral/kebab-hash.git"},"keywords":["kebab","case","kebab","hash"],"author":{"name":"Callum Macdonald"},"license":"MIT","bugs":{"url":"https://github.com/GatsbyCentral/kebab-hash/issues"},"homepage":"https://github.com/GatsbyCentral/kebab-hash#readme","devDependencies":{"babel-cli":"^6.26.0","babel-plugin-transform-flow-strip-types":"^6.22.0","babel-preset-env":"^1.7.0","flow-bin":"^0.72.0","flow-copy-source":"^1.3.0","jest":"^22.4.4"},"dependencies":{"lodash.kebabcase":"^4.1.1"},"gitHead":"8657b7fd559f02b35ca502ad1fb0a5507eca791e","_id":"kebab-hash@0.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"chmac","email":"npmjs.org@callum-macdonald.com"},"dist":{"shasum":"095b3275866ee206b60e7cb9ba468ec815073ef6","size":2383,"noattachment":false,"key":"/kebab-hash/-/kebab-hash-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/kebab-hash/download/kebab-hash-0.1.0.tgz"},"maintainers":[{"name":"chmac","email":"npmjs.org@callum-macdonald.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/kebab-hash_0.1.0_1527084849848_0.10714165543775622"},"_hasShrinkwrap":false,"publish_time":1527084850026,"_cnpm_publish_time":1527084850026}},"readme":"# kebab-hash\n\nGiven an input string, convert to kebab-case and append a hash. Avoids kebab\ncase collisions.\n\n# Use Case\n\nIf you convert URLs to kebab case then `/foo-bar` and `/foo/bar` both become\n`foo-bar`. `kebab-hash` solves this problem by appending a hash of the input to\nthe output string. So these two examples become `foo-bar-096` and `foo-bar-1df`\ninstead.\n\n# Node only\n\nThis package is designed for use on the server (node) not in the browser. PRs\nwelcome.\n","_attachments":{},"homepage":"https://github.com/GatsbyCentral/kebab-hash#readme","bugs":{"url":"https://github.com/GatsbyCentral/kebab-hash/issues"},"license":"MIT"}