fullfiller
TypeScript icon, indicating that this package has built-in type declarations

0.0.2-alpha.0 • Public • Published

if you getting an error related to Fetch, Node's flag option --no-experimental-fetch may fix the issue

fullfiller

Feature-rich filler text generator.

Install

  • npm i fullfiller

Usage

import fullfiller from 'fullfiller';

const article = await fullfiller(
  // 4 valid input types: Wikipedia query string, text, words array and frequency map
  'harry potter',

  {
    // options object (optional)
    language: 'es', // ISO 639-1 language code
    unit: 'words', // 'words' (default) or 'paragraphs'
    quantity: 250,
    format: 'html', // 'plain' (default) or 'html'
  }
);

console.log(article);

Package Sidebar

Install

npm i fullfiller

Weekly Downloads

1

Version

0.0.2-alpha.0

License

MIT

Unpacked Size

918 kB

Total Files

24

Last publish

Collaborators

  • gusalbukrk