Skip to content

iamstarkov/typographic-em-dashes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typographic-em-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.

Install

npm install --save typographic-em-dashes

Usage

var emdashes = require('typographic-em-dashes');

emdashes(`--`); // —
emdashes(`foo -- bar`); // foo — bar
emdashes(`foo — bar`); // foo — bar

License

MIT © Vladimir Starkov

About

Use them, don’t confuse them

Resources

Stars

Watchers

Forks

Packages

No packages published