1.1.3 • Published 12 years ago

englishy v1.1.3

Weekly downloads
4
License
-
Repository
github
Last release
12 years ago

Englishy: Intro and Usage

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

shell> npm install 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.

"""

ep = require("englishy")
parsed = new ep.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.

1.1.3

12 years ago

1.1.2

12 years ago

1.1.1

12 years ago

1.1.0

12 years ago

1.0.0

12 years ago

0.5.1

12 years ago

0.5.0

12 years ago

0.4.2

12 years ago

0.4.1

12 years ago

0.4.0

12 years ago

0.3.0

12 years ago

0.2.0

12 years ago