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'

/hyphennate/

    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