Micro module to help eliminate one of the bad typewriter habits. Safely replacing hyphens in a range of values with en dashes only.
npm install --save typographic-en-dashes
var endashes = require('typographic-en-dashes');
endashes(`Kurt Cobain (1967-1994)`); // Kurt Cobain (1967–1994)
MIT © Vladimir Starkov