0.0.1 • Published 10 years ago

quotify v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

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.”
0.0.1

10 years ago

0.0.0

10 years ago