Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@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.
NPM dictionary for cspell.
This is a pre-built dictionary for use with cspell.
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"],
// …
}
Building is only necessary if you want to modify the contents of the dictionary. Note: Building will take a few minutes for large files.
npm run build
MIT
Some packages may have other licenses included.
FAQs
Dictionary of common NPM packages for cspell.
The npm package @cspell/dict-npm receives a total of 555,746 weekly downloads. As such, @cspell/dict-npm popularity was classified as popular.
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.