Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dictionary-en

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dictionary-en

English spelling dictionary

  • 4.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

dictionary-en

English spelling dictionary.

Contents

What is this?

This is a English dictionary, generated by wooorm/dictionaries from wordlist.aspell.net, normalized and packaged so that it can be installed and used like other dictionaries.

When should I use this?

You can use this package when integrating with tools that perform spell checking (such as nodehun or nspell) or when making such tools.

Install

This package is ESM only. In Node.js (version 16+), install with npm:

npm install dictionary-en

Use

import en from 'dictionary-en'

console.log(en)
// To do: use `en` somehow

Yields:

{aff: <Buffer>, dic: <Buffer>}

API

This package exports no identifiers. The default export is a Dictionary.

It exports the TypeScript type Dictionary.

Dictionary

Hunspell dictionary.

Fields
  • aff (Buffer) — data for the affix file (defines the language, keyboard, flags, and more)
  • dic (Buffer) — data for the dictionary file (contains words and flags applying to those words)

Examples

See the monorepo readme for examples.

Compatibility

This projects is compatible with maintained versions of Node.js.

When we cut a new major release, we drop support for unmaintained versions of Node. This means we try to keep the current release line, compatible with Node.js 12.

Security

This package is safe.

Contribute

See the monorepo readme for how to contribute.

👉 Note: dictionaries are not maintained here. Report spelling problems upstream (wordlist.aspell.net).

License

Dictionary and affix file: (MIT AND BSD). Rest: MIT © Titus Wormer.

Keywords

FAQs

Package last updated on 03 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc