Simple data mock generator.
npm install empanada
const { createRandomWords } = require('empanada');
import { createRandomWords } from 'empanada';
import { createRandomWords } from 'empanada/build/umd/empanada.min.js';
<script src="https://unpkg.com/empanada@latest/build/umd/empanada.min.js"></script>
<script>
const { createRandomWords } = window.empanada;
</script>
A long lorem ipsum text example.
Create a string with random words.
import { createRandomWords } from 'empanada';
console.log(createRandomWords(4));
// "amet nostrud lorem deserunt"
Create a string with a random email address ending in ".com".
import { createRandomEmail } from 'empanada';
console.log(createRandomEmail());
// "[email protected]"