You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

slug

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slug - npm Package Compare versions

Comparing version

to
0.2.0

.npmignore

10

package.json
{ "name": "slug"
, "description": "slugifies even utf-8 chars!"
, "version": "0.1.1"
, "version": "0.2.0"
, "homepage": "https://github.com/dodo/node-slug"

@@ -11,8 +11,8 @@ , "author": "dodo (https://github.com/dodo)"

, "scripts": {
"preinstall": "#preinstall DO NOTHING",
"install": "node-waf configure build",
"update": "node-waf build"}
"pre-publish": "cake build"}
, "dependencies": {
"unicode": ">= 0.2.1",
"unicode": ">= 0.2.1"}
, "devDependencies": {
"muffin": ">= 0.2.6",
"coffee-script": ">= 1.1.2"}
}

@@ -10,4 +10,6 @@ # slugify string

> slug = require ('./slug')
> slug('i ♥ unicode')
> slug()
'i-love-unicode'
> slug('i ♥ unicode', '_') # If you prefer something else then `-` as seperator
'i_love_unicode'
```
module.exports = require('./build/default/slug')
module.exports = require('./lib/slug')

Sorry, the diff of this file is not supported yet