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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@freeword/all-flat

v1.0.22

Published

A Practical Dictionary, containing all(*) words in our collection, exported as a lookup table by word. Has useful metadata assembled from freely licensed sources of varying quality. (*) About 1000 highly offensive words are omitted, but available from @fr

Readme

Freeword

Open dictionary with word forms list.

Installation

# whichever package manager you like:
# npm install @freeword/all-byword
yarn add @freeword/all-byword

Usage

JavaScript

import { Wordforms } from '@freeword/all-byword';

// Use WordformsList as needed
console.log(Wordforms.monkeyshines);

Name it what you like, or use the namespaced version:

import { Wordforms as Dictionary } from '@freeword/all-byword';

TypeScript

import { Wordforms, type WordformT, type Poskind, type Stemkind } from '@freeword/all-byword';

// TypeScript provides full type safety
const entry: WordformT = Wordforms.aardvark;
console.log(entry?.gloss); // "an African mammal"

// You can also use specific stemkind types for better type safety
import type { VerbStemkind, NounStemkind } from '@freeword/all-byword';
const verbEntry: WordformT & { stemkind: VerbStemkind } = Object.values(Words).filter((word) => (word.pos === 'verb')));

// Import constants and types directly from src
import { Poskinds, PosStemkinds, AdjStemkind } from '@freeword/all-byword';

API

WordformsList

The main export from this package. Provides access to word forms data.

WordformT

TypeScript interface for individual word form entries:

interface WordformT {
  word: string;        // The actual word form
  core: string;        // The core/base form of the word
  pos: Poskind;        // Part of speech (noun, verb, adj, etc.)
  stemkind: Stemkind;  // Type of stem (e.g., 'v_core', 'v_ed', 'n_core', 'n_pl_s')
  suffix: string;      // Suffix added to the core
  stemcore: string;    // The stem core
  stemsplit: string;   // The stem with split marker
  wordbits?: number;   // Binary word bits for morphological analysis
  freq?: number;       // Frequency of the word form
  gloss: string;       // Definition or gloss of the word
  tmi?: Record<string, any>; // Additional properties
}

Type Definitions

The package also exports specific types for better type safety:

  • Poskind: Union type of all parts of speech
  • Stemkind: Union type of all stem kinds
  • VerbStemkind, NounStemkind, AdjStemkind, etc.: Specific stemkind types for each part of speech
  • Word, Wordpart, Wordstem, Wordbits: Specialized string and number types

Constants

The package also exports constants that can be imported from the /src subpath:

import { Poskinds, PosStemkinds } from 'freeword/src';

// Poskinds: Array of all part of speech types
// PosStemkinds: Mapping of part of speech to available stemkinds

License

MIT