List of simple American-English words: The Revised Spache (1974)
npm install spache[![Build][build-badge]][build]
[![Coverage][coverage-badge]][coverage]
[![Downloads][downloads-badge]][downloads]
[![Size][size-badge]][size]
List of familiar American-English words: [Revised Spache (1974)][wiki].
* What is this?
* When should I use this?
* Install
* Use
* API
* spache
* Data
* Types
* Compatibility
* Related
* Contribute
* Security
* License
This package exposes a list of familiar words.
Use this when you want to do readability things with natural language.
Use [spache-formula][spache-formula] for the formula.
Alternatively, you can use [dale-chall][dale-chall], which has more words
(about 3 000) and is more recent (1995).
This package is [ESM only][esm].
In Node.js (version 14.14+, 16.0+), install with [npm][]:
``sh`
npm install spache
In Deno with [esm.sh][esmsh]:
`js`
import {spache} from 'https://esm.sh/spache@2'
In browsers with [esm.sh][esmsh]:
`html`
`js
import {spache} from 'spache'
spache.length //=> 1063
console.log(spache.slice(0, 10))
`
Yields:
`js`
[ 'a',
'able',
'about',
'above',
'across',
'act',
'add',
'afraid',
'after',
'afternoon' ]
This package exports the identifier spache.
There is no default export.
List of strings (Array).
See [Perera, Katherine. *Linguistic Difficulty in
Reading Material.* (Linguistics and the Teacher. Vol. 112)][book].
This package is fully typed with [TypeScript][].
It exports no additional types.
This package is at least compatible with all maintained versions of Node.js.
As of now, that is Node.js 14.14+ and 16.0+.
It also works in Deno and modern browsers.
* [spache-formula][spache-formula]dale-chall`][dale-chall]
— formula to detect the grade level of text according
* [
— list of easy American-English words: new Dale–Chall (1995)
Yes please!
See [How to Contribute to Open Source][contribute].
This package is safe.
[MIT][license] © [Titus Wormer][author]
[build-badge]: https://github.com/words/spache/workflows/main/badge.svg
[build]: https://github.com/words/spache/actions
[coverage-badge]: https://img.shields.io/codecov/c/github/words/spache.svg
[coverage]: https://codecov.io/github/words/spache
[downloads-badge]: https://img.shields.io/npm/dm/spache.svg
[downloads]: https://www.npmjs.com/package/spache
[size-badge]: https://img.shields.io/bundlephobia/minzip/spache.svg
[size]: https://bundlephobia.com/result?p=spache
[npm]: https://docs.npmjs.com/cli/install
[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
[esmsh]: https://esm.sh
[typescript]: https://www.typescriptlang.org
[contribute]: https://opensource.guide/how-to-contribute/
[license]: license
[author]: https://wooorm.com
[wiki]: https://en.wikipedia.org/wiki/Spache_readability_formula
[book]: https://books.google.com/books?id=oNXFQ9Gn6XIC&pg=PA106&lpg=PA106
[spache-formula]: https://github.com/words/spache-formula
[dale-chall]: https://github.com/words/dale-chall