
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@cspell/dict-npm
Advanced tools
@cspell/dict-npm is a dictionary package for the CSpell spell checker. It provides a list of words related to npm packages, which helps in identifying and correcting spelling errors in npm-related terms.
Adding npm dictionary to CSpell
This feature allows you to add the npm dictionary to your CSpell configuration, enabling spell checking for npm-related terms.
{
"dictionaries": ["npm"]
}
Using npm dictionary in a project
This feature demonstrates how to configure CSpell to use the npm dictionary in a project, ensuring that npm-specific terms are recognized and checked.
{
"language": "en",
"dictionaries": ["npm"],
"dictionaryDefinitions": [
{
"name": "npm",
"path": "@cspell/dict-npm/cspell-ext.json"
}
]
}
@cspell/dict-python provides a dictionary for Python-related terms for the CSpell spell checker. It is similar to @cspell/dict-npm but focuses on Python terminology.
@cspell/dict-html offers a dictionary for HTML-related terms for the CSpell spell checker. It is comparable to @cspell/dict-npm but is tailored for HTML vocabulary.
@cspell/dict-typescript supplies a dictionary for TypeScript-related terms for the CSpell spell checker. It is akin to @cspell/dict-npm but is designed for TypeScript-specific terms.
This dictionary contains a list of popular JavaScript packages found on npmjs.com.
This is a pre-built dictionary for use with CSpell.
Tool | Version |
---|---|
cspell | >= 6 |
Code Spell Checker - Visual Studio Code | >= 2 |
Global Install and add to CSpell global settings.
npm install -g @cspell/dict-npm
cspell link add @cspell/dict-npm
cspell link remove @cspell/dict-npm
The cspell-ext.json
file in this package should be added to the import section in your cspell.json file.
{
// …
"import": ["@cspell/dict-npm/cspell-ext.json"],
// …
}
See: How to Create a New Dictionary
MIT
Some packages may have other licenses included.
FAQs
Dictionary of common NPM packages for cspell.
We found that @cspell/dict-npm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.