@slynova/slug
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "@slynova/slug", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"author": "Romain Lanz <romain.lanz@slynova.ch>", | ||
@@ -9,6 +9,6 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "https://github.com/Slynova-Org/node-slug" | ||
"url": "https://github.com/Slynova-Org/slug" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/Slynova-Org/node-slug/issues" | ||
"url": "https://github.com/Slynova-Org/slug/issues" | ||
}, | ||
@@ -23,8 +23,8 @@ "scripts": { | ||
"japa-cli": "^1.0.1", | ||
"nyc": "^11.5.0" | ||
"nyc": "^11.9.0" | ||
}, | ||
"dependencies": { | ||
"charmap": "^1.1.5", | ||
"charmap": "^1.1.6", | ||
"lodash.kebabcase": "^4.1.1" | ||
} | ||
} |
@@ -28,2 +28,13 @@ # node-slug | ||
## Extending char map | ||
To extend the char map you can use the static method `extends` | ||
```javascript | ||
const slug = require('@slynova/slug') | ||
slug.extends({'💙': 'love'}) | ||
slug('i 💙 you') // i-love-you | ||
``` | ||
## Contribution Guidelines | ||
@@ -30,0 +41,0 @@ |
2616
43
Updatedcharmap@^1.1.6