Socket
Socket
Sign inDemoInstall

@cspell/dict-en-common-misspellings

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cspell/dict-en-common-misspellings

Common English misspellings dictionary for cspell.


Version published
Weekly downloads
575K
increased by17.54%
Maintainers
1
Weekly downloads
 
Created

What is @cspell/dict-en-common-misspellings?

@cspell/dict-en-common-misspellings is an npm package that provides a dictionary of common misspellings for use with the CSpell spell checker. It helps in identifying and correcting frequently misspelled words in English, enhancing the accuracy of spell-checking processes.

What are @cspell/dict-en-common-misspellings's main functionalities?

Integration with CSpell

This feature allows you to integrate the common misspellings dictionary with CSpell to check and correct text. The code sample demonstrates how to configure CSpell to use the 'en-common-misspellings' dictionary and check a text for common misspellings.

const cspell = require('cspell');
const settings = {
  dictionaries: ['en', 'en-common-misspellings']
};
cspell.checkText('Ths is a smple txt with cmmon mispellings.', settings).then(result => {
  console.log(result);
});

Custom Dictionary Usage

This feature allows you to use the common misspellings dictionary as a standalone dictionary for spell-checking. The code sample shows how to configure CSpell to use only the 'en-common-misspellings' dictionary to check a text.

const cspell = require('cspell');
const settings = {
  dictionaries: ['en-common-misspellings']
};
cspell.checkText('Ths is a smple txt with cmmon mispellings.', settings).then(result => {
  console.log(result);
});

Other packages similar to @cspell/dict-en-common-misspellings

Keywords

FAQs

Package last updated on 15 Feb 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