englishy

1.1.3 • Public • Published

Englishy: Intro and Usage

A npm module providing simple line and blockquote parsing (w/o paragraphs):

shell> npm install englishy

englishy = require("englishy")

my_str = """

  This is a line.
  This is a 2-line
    line.
  This is a line with a block:
    
    I am a block.
    I am also part of a block.

"""

parsed = englishy(str)
parsed.to_array()
# ==>
  [ 
    [ "This is a line" ],
    [ "This is a 2-line line" ],
    [ "This is a line with a block", "  I am a block.\n  I am also part of a block."]
  ]

Why create this?

I plan on using it for my i_love_u npm package. You never heard of it, but it will be famous in several years.

Readme

Keywords

none

Package Sidebar

Install

npm i englishy

Weekly Downloads

1

Version

1.1.3

License

BSD

Last publish

Collaborators

  • da99