dolor

0.2.1 • Public • Published

Dolor Build Status

NodeJS version of the Frank project as a wonderful set of helpers for generating random text content like lorem ipsum.

Installation

npm install dolor --save

Usage

var dolor = require('dolor');
 
dolor.sentence()      # returns a single sentence
dolor.sentences(3)    # returns 3 individual sentence
 
dolor.word()
dolor.words(5)        # returns 5 individual words
 
dolor.paragraph()
dolor.paragraphs(10)  # returns 10 paragraphs 
 
dolor.date()          # returns random instance of Date()
 
dolor.tweet()
 
dolor.name()          # returns first and last name
dolor.firstName()
dolor.lastName()
dolor.email()
 
dolor.country()       # example: { code: 'NZ', name: 'New Zealand' }

Package Sidebar

Install

npm i dolor

Weekly Downloads

4

Version

0.2.1

License

MIT

Last publish

Collaborators

  • mrzmyr