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

loredata

v0.3.0

Published

Generate personas from pop culture universes. Every field belongs to the same fictional world.

Readme

Demo: loredata.orchidfiles.com

import { person, group } from 'loredata';

const p = person({ universe: 'breaking-bad' });
// {
//   firstName: 'Walter',
//   lastName: 'White',
//   username: 'heisenberg',
//   email: '[email protected]',
//   quote: "I am the one who knocks.",
//   profession: 'Chemistry teacher',
//   interests: ['chemistry', 'cooking', 'family'],
//   address: { street: '308 Negra Arroyo Lane', city: 'Albuquerque', state: 'NM' },
//   symbol: '☢️',
//   color: '#4c1d95',
//   universe: 'breaking-bad',
//   universeName: 'Breaking Bad'
// }

const team = group({ universe: 'game-of-thrones', size: 3 });
// [
//   { firstName: 'Jon', lastName: 'Snow', username: 'lord_commander', ... },
//   { firstName: 'Daenerys', lastName: 'Targaryen', username: 'mother_of_dragons', ... },
//   { firstName: 'Tyrion', lastName: 'Lannister', username: 'halfman', ... },
// ]

Works in Node.js, browser, and as a CLI tool.

Install

# library
npm install loredata

# CLI
npm install -g loredata

Universes

25 universes available out of the box:

breaking-bad, sopranos, better-call-saul, the-office, house-md, sherlock, peaky-blinders, game-of-thrones, friends, south-park, star-wars, matrix, the-walking-dead, prison-break, westworld, supernatural, simpsons, avengers, spider-man, lost, harry-potter, guardians-of-the-galaxy, big-bang-theory, x-men, fast-and-furious

import { universes } from 'loredata';

universes();
// [
//   { id: 'sherlock', name: 'Sherlock', genre: ['crime', 'drama', 'mystery'], description: '...' },
//   { id: 'game-of-thrones', name: 'Game of Thrones', genre: ['fantasy', 'drama', 'action'], description: '...' },
//   ...
// ]

Persona fields

Each Person includes:

  • firstName, lastName
  • username, email
  • address, profession, interests
  • quote, symbol, color
  • universe, universeName

Deterministic output

Pass a seed for reproducible results:

const p = person({ universe: 'matrix', seed: 42 });

Browser

import { loadUniverse, personFromData } from 'loredata/browser';

const universe = await loadUniverse('breaking-bad');
const p = personFromData(universe);

No fs or path — safe for Vite, webpack, and any browser bundler.

CLI

loredata person --universe breaking-bad
loredata person --universe breaking-bad --format json
loredata person --interests chemistry,cooking
loredata person --interests chemistry,cooking --interests-mode and
loredata person --name walter
loredata group --universe friends --size 5
loredata universes

Features

  • [x] 25 universes
  • [x] Single persona and group generation
  • [x] Filter characters by interest, name, universe
  • [x] Deterministic output via seed
  • [x] Browser-safe entry point
  • [x] CLI tool
  • [x] Character symbol and color fields

Development

git clone https://github.com/orchidfiles/loredata.git
cd loredata
pnpm install

Build dev-kit (needed once, before other builds):

pnpm --filter @loredata/dev-kit build

Build the library:

pnpm --filter loredata build

Run the web app:

pnpm --filter @loredata/web dev

Why

Faker.js generates random names and emails. They are internally consistent but meaningless. No shared context, no character identity.

LoreData generates personas from real fictional characters. Each persona is recognizable and internally consistent, which makes it useful for demos, screenshots, and seed files where the content matters.

License

MIT


Made by the author of orchidfiles.com — essays from inside startups.
If you found loredata useful, you'll probably enjoy the essays.