Skip to content

iamstarkov/typographic-en-dashes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typographic-en-dashes

NPM version Build Status Coveralls Status Dependency Status DevDependency Status

Use them, don’t confuse them

Micro module to help eliminate one of the bad typewriter habits. Safely replacing hyphens in a range of values with en dashes only.

Install

npm install --save typographic-en-dashes

Usage

var endashes = require('typographic-en-dashes');

endashes(`Kurt Cobain (1967-1994)`); // Kurt Cobain (1967–1994)

License

MIT © Vladimir Starkov

About

Use them, don’t confuse them

Resources

Stars

Watchers

Forks

Packages

No packages published