haiku-detect

1.1.0 • Public • Published

haiku-detect

For detecting and formatting haikus

usage

> var haiku = require("./index.js")
undefined
> haiku.detect("are you suggesting that instead of single lines haikus are preferred?")
true
> haiku.format("are you suggesting that instead of single lines haikus are preferred?")
[ 'are you suggesting ',
  'that instead of single lines ',
  'haikus are preferred?' ]
> haiku.detect("What about sentences that cannot be formed into haikus?");
false
> haiku.format("What about sentences that cannot be formed into haikus?");
[]

Readme

Keywords

Package Sidebar

Install

npm i haiku-detect

Weekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

2.75 kB

Total Files

4

Last publish

Collaborators

  • bushong1