🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@resend/sonare

Package Overview
Dependencies
Maintainers
7
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@resend/sonare

Pronounceable and organic words that feel natural.

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
7
Created
Source

Sonare

Pronounceable and organic words that feel natural.

A lightweight library that generates unique, pronounceable and organic words that feel natural.

  • Highly Unique: >85% uniqueness even when generating 1 million words
  • Pronounceable: Uses phoneme-based generation for easy-to-say words
  • Customizable: Configure minimum and maximum word length
  • Lightweight: Zero dependencies
  • Fast: Optimized for high-volume generation

Installation

# pnpm
pnpm add sonare

# npm
npm install sonare

# yarn
yarn add sonare

Usage

Basic Usage

import { sonare } from 'sonare';

const word = sonare();
console.log(word); // e.g., "veluna" or "minecho"

Custom Length

import { sonare } from 'sonare';

const word = sonare({ minLength: 4, maxLength: 6 });
console.log(word); // e.g., "luna" or "vexar"

const word = sonare({ minLength: 10, maxLength: 15 });
console.log(word); // e.g., "velunambor" or "crisechoten"

Generate Multiple Unique words

import { sonare } from 'sonare';

const words = Array.from({ length: 100 }, () => sonare());
console.log(words); // ["ambor", "tenen", "zilfer", ...]

API Reference

sonare(options?: SonareOptions): string

Generates a single pronounceable word.

Parameters:

  • options (optional): Configuration object
    • minLength (number, default: 6): Minimum length of the generated word
    • maxLength (number, default: 10): Maximum length of the generated word

Returns:

  • string: A pronounceable word containing only lowercase letters

Example:

const word = sonare({ minLength: 8, maxLength: 12 });

License

MIT

Author

Bu Kinoshita at Resend

Keywords

random

FAQs

Package last updated on 04 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts