🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@herbcaudill/scrabble-words

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@herbcaudill/scrabble-words

Parsed Scrabble word lists (CSW21 and NWL2018) with definitions

latest
npmnpm
Version
1.0.2
Version published
Weekly downloads
81
575%
Maintainers
1
Weekly downloads
 
Created
Source

@herbcaudill/scrabble-words

Parsed Scrabble word lists with definitions and metadata.

Dictionaries

  • CSW21 - Collins Scrabble Words (279,077 words, ~30MB)
  • NWL2018 - North American Word List (192,111 words, ~16MB)

Installation

npm install @herbcaudill/scrabble-words

Usage

import csw from "@herbcaudill/scrabble-words/csw21"
import nwl from "@herbcaudill/scrabble-words/nwl2018"

// Find a word
const word = csw.find(w => w.word === "QUIXOTIC")

console.log(word)
// {
//   word: "QUIXOTIC",
//   definitions: [{
//     text: "extravagantly chivalrous",
//     partOfSpeech: "adj"
//   }]
// }

Types

type Word = {
  word: string
  definitions: Definition[]
  crossRef?: CrossRef
}

type Definition = {
  text: string
  partOfSpeech: string
  forms?: string[]        // e.g. ["CATS"] or ["JUMPED", "JUMPING", "JUMPS"]
  alsoSpelled?: string[]  // alternative spellings
  note?: string           // e.g. "Hawaiian", "obsolete"
}

type CrossRef = {
  word: string           // base word this is a form of
  partOfSpeech: string
}

Data source

Word lists are parsed from the scrabblewords repository.

License

MIT

Keywords

scrabble

FAQs

Package last updated on 29 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts