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.
md-summary-generator
Advanced tools
md-summary-generator
is a command-line tool designed to automatically extract titles from a Markdown file and generate a content summary. This tool is especially useful for quickly creating documentation navigation or understanding the structure of lengthy Markdown documents.
First, clone this repository to your local machine:
git clone https://your-repository-url/md-summary-generator.git cd md-summary-generator
Then, install the necessary dependencies:
npm install
node index.js -f /path/to/your/markdown.md -o /path/to/output/summary.md
For example: https://raw.githubusercontent.com/jenscass/md-summary-generator/main/README.md
node index.js -u https://raw.githubusercontent.com/jenscass/md-summary-generator/main/README.md -o /path/to/output/summary.md
If you do not specify the -o
option, the summary will be output to the console.
-f, --file
: Specifies the path to the local Markdown file.-u, --url
: Specifies the URL of the Markdown file.-o, --output
: Specifies the path to the output Markdown file for the summary (if omitted, output will be printed to standard output).Contributions are welcome in all forms, whether it's new features, code reviews, documentation improvements, or bug reports. Please feel free to contribute by opening an issue or submitting a pull request.
FAQs
A simple tool to generate summary from markdown file
We found that md-summary-generator 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.
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.