hyphennate

0.0.1 • Public • Published

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'

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1

Package Sidebar

Install

npm i hyphennate

Weekly Downloads

1

Version

0.0.1

License

none

Unpacked Size

2.72 kB

Total Files

8

Last publish

Collaborators

  • kud.bz