1.0.0 • Published 10 years ago

moretext v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

node-moretext

Get dummy Chinese text (lorem ipsum) with Handlino serivce.

Usage

Command-line tool:

$ moretext
$ moretext -n 11 --limit 29

Use as a library:

var moretext = require('moretext');

moretext(function (err, text) {
  if (err) { throw err; }
  // do something with the text...
});

moretext({n:13, limit:[23, 29]}, function (err, lines) {
  // lines is an array of 13 strings, each between 23 and 29 characaters
});

Stream interface:

moretext({n:43, limit: 7}).pipe(process.stdout);

See http://more.handlino.com/api for the Handlino API.

License

MIT License

1.0.0

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago