npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

czech-vocative

v2.1.0

Published

Gives vocative for women and men czech names

Readme

Czech Vocative

Lightweight TypeScript library for converting Czech names to their vocative form (vokativ / 5th grammatical case).

Built on top of vokativ with:

  • removed deprecated logic
  • smaller bundle size
  • full TypeScript support

Features

  • Convert Czech names to vocative (e.g. Jana → Jano)
  • Supports masculine and feminine names
  • Support for names and surnames
  • Gender detection (isWoman)
  • Zero dependencies
  • Works in Node.js and browser

Installation

npm install czech-vocative

Usage

import { isWoman, vocative } from "czech-vocative";

const name = "Jana";

const woman = isWoman(name);
const vocativeForm = vocative(name);

console.log(vocativeForm); // Jano
console.log(woman); // true

API

vocative(name: string, isWoman?: boolean, isSurname?: boolean): string

Returns the vocative form of a Czech name.

| Param | Type | Description | | --------- | ------------------ | ---------------- | | name | string | Input name | | isWoman | boolean (optional) | Force gender | | isSurname | boolean (optional) | Treat as surname |


isWoman(name: string): boolean

Detects if a name is likely feminine.


Examples

vocative("Petr"); // Petře
vocative("Jan"); // Jane
vocative("Eva"); // Evo
vocative("Novák", false, true); // Nováku

Notes

  • Czech vocative rules are complex and not always 100% deterministic
  • Some names may have multiple valid forms
  • For best accuracy, provide isWoman when known

Why not just use vokativ?

  • Smaller bundle size
  • TypeScript-first
  • Cleaner API
  • No deprecated code

Czech / Česky

Lehká TypeScript knihovna pro převod českých jmen do vokativu (5. pád).


Funkce

  • Převod jmen do 5. pádu (např. Jana → Jano)
  • Podpora mužských i ženských jmen
  • Podpora jmen i příjmení
  • Detekce pohlaví (isWoman)
  • Zero dependencies
  • Funguje v Node.js i prohlížeči

Instalace

npm install czech-vocative

Použití

import { isWoman, vocative } from "czech-vocative";

const name = "Jana";

const woman = isWoman(name);
const vocativeForm = vocative(name);

console.log(vocativeForm); // Jano
console.log(woman); // true

API

vocative(name: string, isWoman?: boolean, isSurname?: boolean): string

Vrátí jméno ve vokativu (5. pád).

| Parametr | Typ | Popis | | --------- | ------------------- | ---------------------- | | name | string | Vstupní jméno | | isWoman | boolean (volitelné) | Vynucení ženského rodu | | isSurname | boolean (volitelné) | Jedná se o příjmení |


isWoman(name: string): boolean

Určí, zda se jedná o ženské jméno.


Příklady

vocative("Petr"); // Petře
vocative("Jan"); // Jane
vocative("Eva"); // Evo
vocative("Novák", false, true); // Nováku

Poznámky

  • Pravidla pro vokativ nejsou vždy jednoznačná
  • Některá jména mohou mít více správných variant
  • Pro přesnější výsledek doporučujeme zadat isWoman

Klíčová slova

vokativ, 5. pád, skloňování jmen, česká jména, příjmení


Credits

Based on the original library:
https://www.npmjs.com/package/vokativ