@f1stnpm2/beatae-dolore-nam

1.0.0 • Public • Published

@f1stnpm2/beatae-dolore-nam

NPM Version node

Set of given and last names pulled from Wikidata

When using random names I needed a list of names. Wikidata has a lot of them, so I pulled them from there. As names don't change that often and are rather static this repo is a snapshot from Wikidata.

Maintainer Hint: Updating the file (with update-names.ts) will query different names than before as LIMIT in the SparQL query is non-deterministic.

Usage

Node.js

npm install @f1stnpm2/beatae-dolore-nam
import { FAMILY, UNISEX } from "@f1stnpm2/beatae-dolore-nam";

UNISEX;
//=> ['Akira', 'Alba', 'Jody', 'Marie', 'Sacha', …]

FAMILY;
//=> ['Hein', 'Ling', 'Owen', …]

randomItem(UNISEX);
//=> 'Jule'

Deno

via ghc.deno.dev

import {
	FAMILY,
	UNISEX,
} from "https://ghc.deno.dev/EdJoPaTo/@f1stnpm2/beatae-dolore-nam/index.ts";

UNISEX;
//=> ['Akira', 'Alba', 'Jody', 'Marie', 'Sacha', …]

FAMILY;
//=> ['Hein', 'Ling', 'Owen', …]

randomItem(UNISEX);
//=> 'Jule'

Readme

Keywords

Package Sidebar

Install

npm i @f1stnpm2/beatae-dolore-nam

Weekly Downloads

6

Version

1.0.0

License

MIT

Unpacked Size

12.6 kB

Total Files

10

Last publish

Collaborators

  • sinhatminh11