dale-chall
List of easy American-English words: new Dale–Chall (1995).
Contents
What is this?
This package exposes a list of pretty useless words, which are typically used
to fill empty space.
When should I use this?
Use this when you want to do readability things with natural language.
Use dale-chall-formula
for the formula.
Install
This package is ESM only.
In Node.js (version 14.14+, 16.0+), install with npm:
npm install dale-chall
In Deno with esm.sh
:
import {daleChall} from 'https://esm.sh/dale-chall@2'
In browsers with esm.sh
:
<script type="module">
import {daleChall} from 'https://esm.sh/dale-chall@2?bundle'
</script>
Use
import {daleChall} from 'dale-chall'
daleChall.length
console.log(daleChall.slice(0, 10))
Yields:
[ 'a',
'able',
'aboard',
'about',
'above',
'absent',
'accept',
'accident',
'account',
'ache' ]
API
This package exports the identifier daleChall
.
There is no default export.
daleChall
List of strings (Array<string>
).
Data
See countwordsworth.com
.
Types
This package is fully typed with TypeScript.
It exports no additional types.
Compatibility
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.
Related
Contribute
Yes please!
See How to Contribute to Open Source.
Security
This package is safe.
License
MIT © Titus Wormer