
Security News
curl Shuts Down Bug Bounty Program After Flood of AI Slop Reports
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.
package-json-to-readme
Advanced tools
Generate a README.md from package.json contents. Works with node and io.js.
Every project worth its salt has a README that answers (at least) the following questions:
With npm modules, most of that info can be gleaned from properties in the package.json file: name, description, scripts.test, preferGlobal, etc. That's why package-json-to-readme exists. Use it to generate a decent boilerplate README, then iterate from there.
npm i -g package-json-to-readme
# Write to stdout
readme package.json
# Pipe output into a new file
readme package.json > README.md
# Add a Travis badge
readme package.json --travis
# Run tests and add their output
readme package.json --tests
# Do it all
readme package.json --tests --travis > README.md
# If your package has an example.sh or example.js file, it will be used to
# generate a usage section like this one.
# If your example.js has a require("./") statement, the relative path will be
# replaced with the package name.
npm install
npm test
MIT
FAQs
Generate a README.md from package.json contents
The npm package package-json-to-readme receives a total of 131 weekly downloads. As such, package-json-to-readme popularity was classified as not popular.
We found that package-json-to-readme 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 News
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.