0.0.1 • Published 6 years ago

hyphennate v0.0.1

Weekly downloads
3
License
-
Repository
-
Last release
6 years ago

Hyphenate

Simple utility module for hyphenating words, phrases and clauses

Installation

$ npm install hyphennate

Usage

import hyphenate from 'hyphennate'

hyphenate('Mr. and Mrs. Foo Bar')
//=> 'mr-and-mrs-foo-bar'

hyphenate("The string, that brings: both 1 + 2 = 3; together & decypher's code is brave! (@menacle).     ")
//=> 'the-string-that-brings-both-1-2-3-together-decyphers-code-is-brave-menacle'