Minimal (2.4 kb) and zero-dependency random emoji, integer and string generator written in typescript with no dependecies.
Using npm
npm install sivgen
Using yarn
yarn add sivgen
import { integer, char, emoji } from "sivgen"
// Arguments - maximum number, number to exclude (optional)
const randomInteger = integer(100, 9);
// Arguments - length of string, exlcude number ( default false )
const randomString = char(2, true);
// Arguments - emoji to exclude (optional)
const randomEmoji = emoji("๐ก");
Currently this module is in development, contributions and pull requsts are welcome.