hiphenate

0.0.1 • Public • Published

Hiphenate

Simple utility module for hyphenating words, phrases and clauses

Installation

$ npm install hiphenate

Usage

import hyphenate from 'hiphenate'
 
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'

Package Sidebar

Install

npm i hiphenate

Weekly Downloads

1

Version

0.0.1

License

none

Unpacked Size

2.71 kB

Total Files

8

Last publish

Collaborators

  • snamoah