text-to-string

1.0.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i text-to-string

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • andineck