string-to-paragraphs

0.0.1 • Public • Published

⚠️ THIS IS NOT READY. IT'S A WORK IN PROGRESS.

string-to-paragraphs

DOWNLOADS Node.js CLI Learn VSCode Sponsor Follow @MrAhmadAwais on Twitter

Convert a large raw string to paragraphs of n sentences


📟

Install

npm install string-to-paragraphs

⚙️

Usage

const stringToParagraphs = require('string-to-paragraphs');

📃

API

stringToParagraphs(input, options?)

❯ input

Type: string

❯ options

Type: object
Default: {sentencesPerPara: 3} (optional)

You can specify the options below.

❯ sentencesPerPara

Type: Number
Default: 3

Number of sentences per paragraph.


📝

Changelog

❯ Read the changelog here →


KEY: 📦 NEW, 👌 IMPROVE, 🐛 FIX, 📖 DOC, 🚀 RELEASE, and 🤖 TEST

I use Emoji-log, you should try it and simplify your git commits.


📃

License & Conduct


🙌

Connect

GitHub @AhmadAwais (follow) To stay up to date on free & open-source software

Twitter @MrAhmadAwais (follow) To get #OneDevMinute daily hot tips & trolls

YouTube AhmadAwais (subscribe) To tech talks & #OneDevMinute videos

Blog: AhmadAwais.com (read) In-depth & long form technical articles

LinkedIn @MrAhmadAwais (connect) On the LinkedIn profile y'all


👌

Sponsor

Me (Ahmad Awais) and my incredible wife (Maedah Batool) are two engineers who fell in love with open source and then with each other. You can read more about me here. If you or your company use any of my projects or like what I’m doing then consider backing me. I'm in this for the long run. An open-source developer advocate.

Ahmad on Twitter

NodeCLI.com — Learn to build Node.js CLI Automation

This repository is part of the NodeCLI.com course.

After building hundreds of developer automation tools used by millions of developers, I am sharing exactly how you can do it yourself with minimum effective effort. Learn to build Node.js & JavaScript based CLI (Command Line Interface) apps. Automate the grunt work, do more in less time, impress your manager, and help the community. → I'm sharing it all in this online video course. Node CLI Automation without wasting a 1,000 hours

Node CLI Course

Node CLI

Awais on Twitter

Package Sidebar

Install

npm i string-to-paragraphs

Weekly Downloads

11

Version

0.0.1

License

MIT

Unpacked Size

8.35 kB

Total Files

4

Last publish

Collaborators

  • ahmadawais