UNPKG

kebab-hash

Version:

Given an input string, convert to kebab-case and append a hash. Avoids kebab case collisions.

45 lines (44 loc) 1.16 kB
{ "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": "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" } }