Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
litmus-test
Advanced tools
Run Litmus Tests directly from the command line using Node.
A work in progress :(
$ npm install litmus-test
Note: This will need to be npm link
ed for now.
TODO: Use a local package.json file.
$ cp config.example.json config.json
And update the settings however you like.
Pipe a file at it:
$ cat path/to/email.html | litmus-test -d test/dir
PENDING: Or use a Node.js stream:
var fs = require('fs')
, LitmusTest = require('./lib/litmus-test')
;
fs.createReadStream('foo/bar.html')
.pipe(new LitmusTest)
;
Thankfully, commander
provides us with a command-line help:
$ litmus-test -h
Usage: litmus-test [options]
Options:
-h, --help output usage information
-V, --version output the version number
-t, --testId <n> test id for re-testing emails
-i, --imageDir [value] images file path
-f, --htmlFile [value] html email file to test
-d, --dir [value] set s3 directory to upload assets in bucket
-l, --list retrieve list of tests from litmus api
$ litmus-test -l
$ cat path/to/email.html | litmus-test -t TEST_ID
PENDING: within Node.js, it is possible to create-or-retest:
var fs = require('fs')
, LitmusTest = require('./lib/litmus-test')
;
fs.createReadStream('foo/bar.html')
.pipe(new LitmusTest({ testId: TEST_ID }))
;
FAQs
Run Litmus Tests directly from the command line using Node.
The npm package litmus-test receives a total of 2 weekly downloads. As such, litmus-test popularity was classified as not popular.
We found that litmus-test 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 a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.