šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

word-list

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

word-list

List of English words

4.1.0
latest
Source
npm
Version published
Weekly downloads
4.6K
7.86%
Maintainers
0
Weekly downloads
Ā 
Created
Source

word-list

List of English words

Useful if you're creating a word game or just want some words to work with.

Used by word-stream and random-word.

One-letter words are not included. Many common bad words are also filtered out.

Install

npm install word-list

Usage

import fs from 'node:fs';

// Returns the path to the word list which is separated by `\n`.
import wordListPath from 'word-list';

const wordArray = fs.readFileSync(wordListPath, 'utf8').split('\n');
//=> […, 'abmhos', 'abnegate', …]

Keywords

word

FAQs

Package last updated on 12 Oct 2024

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