New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

lines-to-paragraphs

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lines-to-paragraphs

A JavaScript module that converts new lines to paragraph tags.

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

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

  • 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

Keywords

module

FAQs

Package last updated on 18 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts