quotify

0.0.1 • Public • Published

Quotify

Have a text file filled with straight quotes that should be curly? Run your text through Quotify to automatically prettify those quotes with their correct HTML entity equivalents!

Usage (requires node-machine)

var Machine = require('node-machine');
var quotify = require('quotify');
Machine.build(quotify).configure({
    html: '"What\'s the deal?", said the Big Bopper.  "We\'re flying kinda low."'
}).exec({
    success: console.log
});

outputs:

“What’s the deal?”, said the Big Bopper.  “We’re flying kinda low.”

Readme

Keywords

none

Package Sidebar

Install

npm i quotify

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • sgress454