Note about project structure: this repository is a monorepo, its packages are organized under the packages/ directory.
Generate subject-specific filler text in dozens of languages using the Wikipedia API.
Try it out online at https://fullfiller.gusalbukrk.com/.
Examples:
- https://fullfiller.gusalbukrk.com/api?query=harry%20potter: generate 5 paragraphs of filler text about "harry potter" in English
- https://fullfiller.gusalbukrk.com/api/harry%20potter/es/paragraphs/3/html: generate 3 paragraphs of filler text about "harry potter" in Spanish, formatted as HTML
- More examples can be found here.
npm install -g fullfiller-clifullfiller --help: get helpfullfiller 'harry potter' -l es -u 'paragraphs' -q 5 -f 'html': generate 5 paragraphs of filler text about "harry potter" in Spanish, formatted as HTML.
npm i fullfiller- Import the library and use it in your code:
import fullfiller from 'fullfiller';
const text = await fullfiller('harry potter', {
unit: 'paragraphs',
quantity: 3,
format: 'html',
});
console.log(text);