
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
A node.js module that parses aspell output. Aspell is a spell checker.
Currently works with node.js v0.10.1+ (and probably lower).
const aspell = require("aspell");
const emitter = aspell("spelll chek me"); // Returns event emitter
emitter
.on("error", function(chunk) { /* ... contents of stderr sent here ... */ })
.on("result", function(result) {
/**
`result` is an object that has a property called "type"
When "type" equals:
"ok" -- aspell has encountered a correctly spelled word.
Other optional properties:
- "run-together" -- is true if aspell encounters a compound word
"misspelling" -- aspell has encountered a misspelled word.
Other properties:
- "word" -- the incorrectly spelled word.
- "position" -- the character distance from the last line break
- "alternatives" -- a list of possible corrections
"comment" -- aspell has return comment.
Other properties:
- "line" -- contains the full comment.
"line-break" -- aspell has encountered a line break in the input text
"unknown" -- aspell has return an unsupported control character
*/
})
.on("end", function() { /* ... called when no more results are available ... */ })
;
require("aspell").args
-- Contains a list of arguments that aspell is ran with. By default the list is [ "--run-together" ]
.The easiest way to get node-aspell is with npm:
npm install aspell
Alternatively you can clone this git repository:
git clone git://github.com/xavi-/node-aspell.git
This project is released under The MIT License.
FAQs
A module that parses aspell output.
The npm package aspell receives a total of 4 weekly downloads. As such, aspell popularity was classified as not popular.
We found that aspell demonstrated a not healthy version release cadence and project activity because the last version was released 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
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.