gene-hightower / random-local-part

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a package to generate a random short(ish) string for use as a mailbox address local-part.

$ npm ci
$ npm run build
$ npm run test

You can print out out with:

$ node dist/lib/random-local-part.js 

Use:

import { random_local_part } from "random-local-part";

console.log(random_local_part());

Number of possible addresses is: 7776 * 7776 * 32768 * 3 = 5,944,066,965,504

About

License:Apache License 2.0


Languages

Language:TypeScript 100.0%