# word-stream **Repository Path**: mirrors_sindresorhus/word-stream ## Basic Information - **Project Name**: word-stream - **Description**: Returns a stream of English words - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-19 - **Last Updated**: 2026-05-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # word-stream > Returns a stream of English words from the [Letterpress Word List](https://github.com/atebits/Words/blob/master/Words/en.txt) Useful if you're creating a word game or just want some words to work with. ## Install ```sh npm install word-stream ``` ## Usage ```js import wordStream from 'word-stream'; wordStream().on('data', word => { console.log(word); }); //=> … //=> abmhos //=> abnegate //=> … ``` ## Tip You can get all the words at once by using [`get-stream`](https://github.com/sindresorhus/get-stream): ```js import wordStream from 'word-stream'; import {getStreamAsArray} from 'get-stream'; console.log(await getStreamAsArray(wordStream())); //=> […, 'abmhos', 'abnegate', …] ```