A simple function that converts a string into machine-friendly-name
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
CHANGELOG.md
LICENSE
README.md
bower.json
index.js
package.json

README.md

machine-name

A simple function that converts a string into machine-friendly-name

Installation

  • Latest release
  • Bower: bower install machine-name
  • NPM: npm install machine-name

Usage

var machineName = require('machine-name');
machineName('Lorem ipsum dolor sit amet'); // lorem-ipsum-dolor-sit-amet