@zokugun/namegen-lite
v0.1.0
Published
Lightweight name generator for quick, readable IDs.
Readme
@zokugun/namegen-lite
This utility creates randomized names using internal word lists, producing results like
misty-river-452for clear labeling.
About this project
@zokugun/namegen-lite is a TypeScript-first port and fork of wwwy3y3/haiku.
Features
- Standardized Format: Outputs names in an adjective-noun-number pattern.
- Lightweight Design: Focuses on core functionality with minimal overhead.
- Descriptive Labels: Creates names that are easy for humans to read and recognize.
- Unique Identifiers: Uses numeric suffixes to help prevent name collisions.
Installation
npm add @zokugun/namegen-liteRequirements
- Node.js:
v18.20or higher - Modules: ECMAScript Modules (
ESM) or CommonJS (CJS)
Quick Start
Basic Usage
Generate a single unique string to use as an ID or a temporary filename.
import { namegen } from 'node-namegen-lite';
const id = namegen();
console.log(id);
// 'damp-snowflake-491'API Reference
function namegen(): string;Contributions
Contributions are most welcome. Please:
- Open issues and feature requests under the repository discussions.
- Follow the
CONTRIBUTING.md.
Donations
Support this project by becoming a financial contributor.
License
Copyright © 2026-present Baptiste Augrain
Licensed under the MIT license.
