1.0.3 • Published 9 years ago

lines-to-paragraphs v1.0.3

Weekly downloads
114
License
MIT
Repository
github
Last release
9 years ago

Lines to Paragraphs npm version Build Status

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

  1. Fork it
  2. Run npm install
  3. Run Grunt watch grunt watch
  4. Create your feature branch (git checkout -b my-new-feature)
  5. Commit your changes (git commit -am "Add some feature")
  6. Push to the branch (git push origin my-new-feature)
  7. Create new Pull Request## License MIT © Ryan Burgess