dale-chall
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

dale-chall

Build Coverage Downloads Size

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 // => 2942

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

  • dale-chall-formula — Formula to detect the grade level of text
  • spache — list of familiar American-English words (1974)

Contribute

Yes please! See How to Contribute to Open Source.

Security

This package is safe.

License

MIT © Titus Wormer

Readme

Keywords

Package Sidebar

Install

npm i dale-chall

Weekly Downloads

1,649

Version

2.0.1

License

MIT

Unpacked Size

39.9 kB

Total Files

5

Last publish

Collaborators

  • wooorm
  • zeke