Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
elm-doc-preview
Advanced tools
This is an Elm 0.19 documentation previewer for packages, applications and their dependencies.
It aims at rendering documentation exactly like the official package website to avoid any surprise when releasing a package.
Note that applications documentation is
not yet supported by Elm,
so only the README
and dependencies are supported for those at the moment.
$ npm install -g elm-doc-preview
Usage: edp|elm-doc-preview [options] [path_to_package_or_application]
Options:
-V, --version output the version number
-p, --port <port> the server listening port (default: 8000)
-h, --help output usage information
Environment variables:
ELM_HOME Elm home directory (cache)
For example, from the directory where your package elm.json
is:
$ elm-doc-preview
or
$ edp
or from anywhere:
$ elm-doc-preview path/to/package_or_application
There is also an online version supporting documentations loading from github to share them for online reviews:
https://elm-doc-preview.netlify.com
It does not support hot-reloading or dependencies documentation though.
const DocServer = require('elm-doc-preview');
// constructor(path_to_elm_json = ".")
const server = new DocServer();
// Optionaly exit cleanly on SIGINT to let temporary files be removed
process.on("SIGINT", () => { process.exit(0); });
// listen(port = 8000)
server.listen();
FAQs
Elm offline documentation previewer with hot reloading.
The npm package elm-doc-preview receives a total of 2,280 weekly downloads. As such, elm-doc-preview popularity was classified as popular.
We found that elm-doc-preview 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.