An open API service indexing awesome lists of open source software.

https://github.com/tangbc/autop

Add auto paragraph from plain string.
https://github.com/tangbc/autop

Last synced: over 1 year ago
JSON representation

Add auto paragraph from plain string.

Awesome Lists containing this project

README

          



NPM version


NPM downloads

## autop

Add auto paragraph from plain string.

## usage

```bash
npm install autop --save
```

```javascript
import autop from 'autop'

const dataString = 'Any content ...'
const formatString = autop(dataString)

```