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

@nan0web/verse

v1.0.0

Published

I•We•Meta•Uni•Verse - the source of verse classes and algorithms.

Readme

@nan0web/verse

|Package name|Status|Documentation|Test coverage|Features|Npm version| |---|---|---|---|---|---| |@nan0web/verse |🟢 98.9% |🧪 English 🏴󠁧󠁢󠁥󠁮󠁧󠁿Українською 🇺🇦 |🟢 95.1% |✅ d.ts 📜 system.md 🕹️ playground |— |

I•We•Meta•Uni•Verse — the foundational layer of human structures in the nan0web ecosystem.

Verse allows you to model identity, relationships, and communication structures that align with the real world — from simple contacts to complex human groupings.

This package includes:

  • Human models: Contact, Gender, Name, etc.
  • I – a fundamental identity atom
  • We – a collective, built from I

Installation

How to install with npm?

npm install @nan0web/verse

How to install with pnpm?

pnpm add @nan0web/verse

How to install with yarn?

yarn add @nan0web/verse

Usage

Creating HumanContact from string

HumanContact parses strings into standard contact URIs like mailto:, tel:, or address:.

How to create HumanContact from string?

import { HumanContact } from '@nan0web/verse'
const contact = HumanContact.from("+1234567890")
console.info(String(contact)) // ← tel:+1234567890

Creating HumanGender from a name

Recognizes gender by name or alias using lists of Ukrainian and international names.

How to recognize HumanGender from a full name?

import { HumanGender } from '@nan0web/verse'
const gender = HumanGender.from("Петруненко Ярослав")
console.info(to(Number)(gender)) // ← 1 (men's)

Working with HumanName

Helps represent family tree-friendly full names, including aliases.

How to parse and normalize a name with alias?

import { HumanName } from '@nan0web/verse'
const name = HumanName.from("Анжелiка")
console.info(String(name)) // ← Анжеліка(Анжелiка)

Creating I identity

Simplest atomic unit of identity.

How to create minimal identity with I?

import { I } from '@nan0web/verse'
const iAm = new I("Ярослав")
console.info(String(iAm)) // ← Ярослав

Grouping identities into We

Simple array wrapper, but typed and verifiable.

How to create a group identity with We?

import { I, We } from '@nan0web/verse'
const alice = new I("Alice")
const bob = new I("Bob")

const group = new We({ members: [alice, bob] })
console.info(String(group)) // ← Alice\nBob

Overriding static dictionaries

You can override internal static dictionaries such as gender lists or name aliases. This is useful for customizations, adding support for new languages, or correcting edge cases.

Example:

import { HumanGender, HumanName } from '@nan0web/verse'

// Create custom name class with different dictionaries
class CustomHumanName extends HumanName {
  static MEN = ['Alex', 'John']
  static WOMEN = ['Alexa', 'Jane']
}

// Override the Name reference in HumanGender
HumanGender.Name = CustomHumanName

const gender = HumanGender.from('Alex')
console.log(gender.toNumber()) // ← 1

How to override static dictionaries for HumanGender.Name?

// Backup original data
const OriginalName = HumanGender.Name

// Create custom name class
class CustomHumanName extends HumanName {
	static MEN = ["TestMaleName"]
	static WOMEN = ["TestFemaleName"]
}

// Override static dictionary
HumanGender.Name = CustomHumanName

// Test overridden behavior
const gender = HumanGender.from("TestMaleName")

API

HumanContact

Parses strings into contact URIs using known prefixes or smart detection.

  • from(input) – creates a HumanContact instance
  • toString() – returns normalized URI

HumanGender

Detects gender by name parsing with support for Ukrainian and international name lists.

  • from(input) – creates HumanGender by name or number
  • toNumber() – returns -1 (unknown), 0 (f), 1 (m)
  • toString() – descriptive string
  • Name static property – reference to HumanName class that can be overridden

HumanName

Parses and sorts full names including alias support.

  • from(input) – creates a new HumanName from array or string
  • toString() – returns full name
  • firstName, lastName, alias – getters
  • ALIASES, MEN, WOMEN – static arrays that can be overridden

I

Base identity value.

  • constructor(value) – stores string value
  • toString() – returns value

We

Group of identities.

  • constructor({ members }) – stores array of I
  • toString() – joins all members with newlines

Playground

How to try package in CLI?

# To try out examples and play with the library:
git clone https://github.com/nan0web/verse.git
cd verse
npm install
npm run playground

Java•Script

How is autocompletion enabled?

Contributing

How to contribute? - check here

License

How to license ISC? - check here

const text = await fs.loadDocument("LICENSE")