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 🙏

© 2024 – Pkg Stats / Ryan Hefner

categorized-words

v1.0.0

Published

Clean list of ~90k english words divided into seven categories. Useful for e.g. generation of memorable, pseudo-semantical passphrases or human-friendly identifiers.

Downloads

70

Readme

Categorized Words

Clean list of ~90k english words divided into seven categories. Useful for e.g. generation of memorable, pseudo-semantical passphrases or human-friendly identifiers.

About

This package is basically just a jsonified and slightly cleaned version of the 2of12id.txt wordlist (as of 3 May 2016) from The Unofficial Alternate 12 Dicts Package of the SCOWL (Spell Checker Oriented Word Lists) project.

The 2of12id.txt file, in the alternative version of 12Dicts, is the primary source of part-of-speech and inflection information, however it is limited to common words.

— Description from wordlist.aspell.net

Modifications

I have removed from the original file all entries that were somehow marked as special, leaving in only regular, non-hyphenated words consisting solely of characters a-z which should also not be totally obscure.

No censoring or other content-based cleaning has been applied. Please use this source at your own discretion and expect it to contain profane words.

Possible Uses

I made this package primarily to provide a better structured dictionary for XKCD-style password generators, to support the generation of semantically somewhat viable word combinations that can hopefully be remembered more easily.

These wordlists can certainly also be used for other purposes, e.g., to generate memorable identifiers for things, like those you know from Heroku and Docker.

Contents

| Key | Word class | Size | |:-----:|:-------------------------|----------:| | N | noun | 47004 | | V | verb | 31232 | | A | adjective | 14903 | | I | interjection | 188 | | C | conjunction/preposition | 139 | | P | pronoun | 78 | | S | spoken contraction | 9 | | | Total of all classes | 93553 |

Usage Example

const words = require('categorized-words')
console.log('first noun in list:', words.N[0])

Data Format

The module returns an object with keys ['A','C','I','N','P','S','V'], each representing a word class, and having as their value an array containing the words in that class. The format looks like this:

{
  X: ['lots', 'of', 'words'],
  Y: ['even', 'more', 'of', 'them']
}

Credit/License

This work is based on SCOWL. It is available under the MIT License.