
Security Fundamentals
Turtles, Clams, and Cyber Threat Actors: Shell Usage
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
Auto-generate documentation using your package.json's dependencies property
Auto-generate documentation using your package.json's dependencies
depdoc simply scans your package.json
's dependencies
property and returns some simple information about each item. For an example, please see this package's own depdoc.md.
npm install --global depdoc
Usage: depdoc <filepath> [options]
Options:
-h, --help output usage information
-V, --version output the version number
-g, --generate Generate a markdown file of the result
-p, --print Print result to the console
-c, --copy Copy result to clipboard
depdoc <filepath> -p
depdoc package.json -p
depdoc https://raw.githubusercontent.com/TryKickoff/generator-kickoff/master/package.json -p
Note: files hosted on github.com can also be used
depdoc <filepath> -c
depdoc package.json -c
depdoc https://raw.githubusercontent.com/TryKickoff/generator-kickoff/master/package.json -c
Default filename is depdoc.md
depdoc <filepath> -g
depdoc package.json -g dependencies
depdoc https://raw.githubusercontent.com/mrmartineau/depdoc/master/package.json -g dependencies
depdoc can also be used in your node code, but in order for your it to parse your json, you will need to normalise it first, see below for an example from the depdoc demo site.
var depdoc = require('depdoc');
var input = document.querySelector('.packageInput').value;
var normalisedInput = input.replace(/\r?\n|\s|\r/g,'');
var result = depdoc(input, 'json');
FAQs
Auto-generate documentation using your package.json's dependencies property
The npm package depdoc receives a total of 12 weekly downloads. As such, depdoc popularity was classified as not popular.
We found that depdoc 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.
Security Fundamentals
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
Security News
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.