JSPM

dolor

0.2.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q30885F
  • License MIT

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

Package Exports

  • dolor

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dolor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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' }