Generate memorable, thematic API keys and unique identifiers that are as beautiful as they are functional. Perfect for applications that value both security and aesthetics.
Key Fleur offers multiple generation modes and themes to create the perfect keys for your use case.
From mystical to oceanic, choose from carefully crafted word collections.
From haiku to sigil patterns, each with unique formatting rules.
Validate existing keys and identify their generation pattern.
Lightweight and fast with no external dependencies.
Full TypeScript support with comprehensive type definitions.
Generate multiple keys at once, up to 100 per batch.
Experiment with different modes and themes to create your perfect keys.
Generated keys will appear here
import { generateKeyFleur } from '@usex/key-fleur';
const key = generateKeyFleur({
mode: 'haiku',
theme: 'haiku',
count: 1
});
console.log(key); // "Luna-Eclipse-Void"
Install and start generating beautiful keys in minutes.
npm install @usex/key-fleur
import { generateKeyFleur, isValidKeyFleur } from '@usex/key-fleur';
// Generate a single key
const key = generateKeyFleur();
console.log(key); // "Ethae-Soliv-Nyrae"
// Generate with specific mode and theme
const celestialKey = generateKeyFleur({
mode: 'sigil',
theme: 'celestial'
});
console.log(celestialKey); // "Star-472-Cosmos"
// Generate multiple keys
const keys = generateKeyFleur({
count: 5,
theme: 'oceanic'
});
console.log(keys); // ["Wave-Tide-Ocean", ...]
// Validate a key
const validation = isValidKeyFleur("Luna-Eclipse-Void");
console.log(validation.valid); // true
console.log(validation.mode); // "haiku"