Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

slug

Package Overview
Dependencies
Maintainers
1
Versions
74
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 0.1.1 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc