Gathering detailed insights and metrics for @drtyhu8npm/necessitatibus-beatae-eum
Gathering detailed insights and metrics for @drtyhu8npm/necessitatibus-beatae-eum
Gathering detailed insights and metrics for @drtyhu8npm/necessitatibus-beatae-eum
Gathering detailed insights and metrics for @drtyhu8npm/necessitatibus-beatae-eum
npm install @drtyhu8npm/necessitatibus-beatae-eum
Typescript
Module System
Node Version
NPM Version
48.1
Supply Chain
48.1
Quality
75.5
Maintenance
100
Vulnerability
99.6
License
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
0%
1
Compared to previous week
Last month
0%
2
Compared to previous month
Last year
0%
93
Compared to previous year
28
Generate quirky names like hilarious-curve, daily-sunny-stone, sparkling-edge-108 to use wherever you need a random but memorable name.
Useful for object names, temp folders, passwords, project names, server names, unique ids etc..
╭──────────╮ ╭────────────╮
│ dawdk ░│ │ wild-pot │
╰──────────╯ ╰────────────╯
╭──────────────────────╮ ╭──────────────────────╮
│ ◎ ○ ○ ░░░░░░░░░░░░░░░│ │ ◎ ○ ○ ░░░░░░░░░░░░░░░│
├──────────────────────┤ ├──────────────────────┤
│ │ │ │
│ │ │ ◠ ◡ ◠ │
│ │ VS │ │
│ │ │ │
│ ○ ○ │ │ │
│ ◠ │ │ │
└──────────────────────┘ └──────────────────────┘
true-to-life representation representation of your server feels
This is TypeScript rewrite of now deprecated project-name-generator library, with some improvements (no external lib dependencies, additional options)
npm
npm install @drtyhu8npm/necessitatibus-beatae-eum --save
bun
bun add @drtyhu8npm/necessitatibus-beatae-eum
1import generate from '@drtyhu8npm/necessitatibus-beatae-eum'; 2 3generate().dashed; // "interesting-umbrella" 4 5generate().spaced; // "maniacal dinosaurs" 6 7generate().raw; // ["tricky", "cactus"] 8 9generate({ number: true }).dashed; // 'composed-invention-4796' 10 11generate({ words: 4 }).raw; // ["gorgeous", "productive", "plum", "friend"] 12 13generate({ words: 4, number: true }).dashed; // 'domineering-tall-slim-rock-507' 14 15generate({ words: 2, alliterative: true }).spaced; // 'major metal' 16 17generate({ firstLetter: 'a' }).spaced; // 'average fox' 18 19generate({ firstLetter: 'a', alliterative: true }).spaced; // 'amazing apple' 20
This package contains a simple cli. You can pull in the package globally using npm
npm install -g @drtyhu8npm/necessitatibus-beatae-eum
Call from your command line
$ @drtyhu8npm/necessitatibus-beatae-eum
{
raw: [ "heavy", "rainstorm" ],
dashed: "heavy-rainstorm",
spaced: "heavy rainstorm",
}
For CLI options
@drtyhu8npm/necessitatibus-beatae-eum -h
Usage: @drtyhu8npm/necessitatibus-beatae-eum [options]
Options:
-w, --words [num] number of words [2]
-n, --numbers suffix with a random number
-a, --alliterative use alliterative
-f, --format [format] output format type [raw|dashed|spaced]
-l, --first-letter [s] first letter of the first word [single letter]
-b, --blocklist [words] comma separated list of words to exclude
-h, --help output usage information
The module returns a single function, generate(options)
Calling generate()
with no arguments will return an object:
1{ 2 raw: [ "marked", "north" ], 3 dashed: "marked-north", 4 spaced: "marked north", 5}
The options
argument object can have properties
generate({ words: 3 })
will return:
1{ 2 raw: [ "smart", "abrupt", "weather" ], 3 dashed: "smart-abrupt-weather", 4 spaced: "smart abrupt weather", 5}
generate({ words: 5, number: true })
will return:
1{ 2 raw: [ "fabulous", "potent", "demonic", "confused", "gate", 4955 ], 3 dashed: "fabulous-potent-demonic-confused-gate-4955", 4 spaced: "fabulous potent demonic confused gate 4955", 5}
generate({ words: 2, number: false, alliterative: true })
will return:
1{ 2 raw: [ "somber", "snails" ], 3 dashed: "somber-snails", 4 spaced: "somber snails", 5}
To run tests locally:
bun install
bun test
No vulnerabilities found.
No security vulnerabilities found.