1.0.0 • Published 9 years ago
text-to-string v1.0.0
text-to-string
Transform Text into a single line String
install
npm install text-to-string
usage
this utility function can be used in node.js as well as in the browser e.g. with browserify.
var text2string = require('text-to-string');
var text = fs.readFileSync(__dirname + '/README.md', 'utf-8');
var str = text2string(text);
inspiration
1.0.0
9 years ago