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

fun-word-list

v1.0.1

Published

A large collection of fun and interesting words in English.

Downloads

10

Readme

Fun Word List

This package is a standalone collection of fun and interesting English words used in the Game Idea Generator that was originally used for the Insanity Jam game jam.

Installation

Add the word list to your project using NPM (npm install fun-word-list) or Yarn (yarn fun-word-list).

Usage

This package uses JavaScript's module.export to export each individual part of speech/phrase style and also a default file that includes them all in a single object. Just include or require them in your script to use them!

Each piece of the whole list is separated as an object key, and each list is a regular JavaScript array with values listed in alphabetical order. The only lists that is not a simple array is the Nouns, which is an array of arrays with 2 values, and Verbs, which is an object with 3 different persons (second = "you do x", third = "he does y", etc.) that themselves contain a list. In the Nouns list, the first value list is the singular form of the word, the second is the plural.

All Lists

var words = require('fun-word-list');

console.log('Hello, you ' + words.adjectives[0] + ' ' + words.nouns[0][0] + '!');

// output: Hello you abhorrent aardvark!

console.log("Don't " + words.verbs.secondPerson[0] + " the " + words.nouns[0][1] + "!");

// output: Don't accelerate the growth of the aardvarks!

Specific List

Specific lists are kept in the lists directory, and verbs is itself a directory.

var nouns = require('fun-word-list/lists/nouns');
var verbs2nd = require('fun-word-list/lists/verbs/secondPerson');

console.log('No ' nouns[0][1] + ' allowed!');

// output: No aardvarks allowed!

console.log('Why do ' nouns[0][1] + ' always ' + verbs2nd[0] + ' ' + nouns[1][1]) + '?';

// output: Why do aardvarks always accelerate the growth of aborigines?

Structure

The structure of the full list is as follows:

var words = {
  addons: ['array', 'of', 'values'],  // Fragments to add to the end of sentences for different moods. Many include preceding commas or periods.
  adjectives: ['array', 'of', 'values'],  // For use with `nouns` or `concepts`
  concepts: ['array', 'of', 'values'],  // Complex nouns
  descriptions: ['array', 'of', 'values'],  // For use with `locations`
  gametypes: ['array', 'of', 'values'], // Video game genres/playstyles/feels
  locations: ['array', 'of', 'values'], // Nouns that represent places
  nouns: [  // Simple things that can act or be acted upon
    ['singluar form', 'plural form'],
    ...
  ],
  superlatives: ['array', 'of', 'values'], // Adjectives that express the extremes of something. For use with `nouns`, `concepts`, or `locations`
  verbs: {  // All verbs in this list are used for acting in relation to another thing.
    secondPerson: ['array', 'of', 'values'],  // Verbs for use with "you" or "they" as in "you help the aardvark" or "they fight a bird"
    secondConcepts: ['array', 'of', 'values'],  // Verbs for use with "you" or "they" in combination with `concepts` as in "you are helped by the King" or "they fight against traditions"
    thirdPerson: ['array', 'of', 'values']  // Verbs for use with `nouns` as in "The aardvark anticipates rain"
  }
}

Plans

I had worked on splitting up these words (specifically descriptors) into positive, negative, and neutral lists. Hopefully I'll be able to come up with something like that pretty soon for this package.

License