lines-to-paragraphs
v1.0.2 module javascript nodejs node paragraphs newlines lines br tags and 1 more...
Lines to Paragraphs
A JavaScript module that converts new lines to paragraph tags.
Install
npm install lines-to-paragraphs --save-dev
Use
var paragraphs = require('lines-to-paragraphs');
var content = 'Lorem ipsum\n\nTesting more content';
paragraphs(content);
Release History
- 1.0.3: Update documentation.
- 1.0.2: Add tests.
- 1.0.0: Initial release.
Contributing
- Fork it
- Run
npm install
- Run Grunt watch
grunt watch
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am "Add some feature"
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request## License MIT © Ryan Burgess
npm i [email protected]
Metadata
- MIT
- Whatever
- Ryan Burgess @burgessdryan
- released 3/18/2015