lines-to-paragraphs
v1.0.3
Published
A JavaScript module that converts new lines to paragraph tags.
Downloads
42
Maintainers
Readme
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