Skip to content

Latest commit

 

History

History
164 lines (105 loc) · 3.32 KB

readme.md

File metadata and controls

164 lines (105 loc) · 3.32 KB

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 easy (often understood) words.

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