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

@cspell/cspell-bundled-dicts

Package Overview
Dependencies
Maintainers
1
Versions
245
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cspell/cspell-bundled-dicts

Dictionaries bundled with cspell

  • 8.8.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
688K
decreased by-3.54%
Maintainers
1
Weekly downloads
 
Created

What is @cspell/cspell-bundled-dicts?

@cspell/cspell-bundled-dicts is a package that provides a collection of pre-bundled dictionaries for use with the CSpell spell checker. It allows developers to easily integrate various language dictionaries into their projects to enhance spell-checking capabilities.

What are @cspell/cspell-bundled-dicts's main functionalities?

Loading a Dictionary

This feature allows you to load a specific dictionary by its language code. In this example, the 'en_us' dictionary is loaded and logged to the console.

const { getDictionary } = require('@cspell/cspell-bundled-dicts');

async function loadDictionary() {
  const dictionary = await getDictionary('en_us');
  console.log(dictionary);
}

loadDictionary();

Listing Available Dictionaries

This feature provides a list of all available dictionaries bundled with the package. The example code retrieves and logs the list of dictionaries.

const { getDictionaryList } = require('@cspell/cspell-bundled-dicts');

function listDictionaries() {
  const dictionaries = getDictionaryList();
  console.log(dictionaries);
}

listDictionaries();

Other packages similar to @cspell/cspell-bundled-dicts

Keywords

FAQs

Package last updated on 22 May 2024

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