Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
aspell
Advanced tools
Readme
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 109 weekly downloads. As such, aspell popularity was classified as not popular.
We found that aspell 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.