fullfiller
v0.0.2-alpha.0
Published
Feature-rich filler text generator.
Downloads
3
Maintainers
Readme
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);