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.
awesome-readme-to-data
Advanced tools
Transform awesome readme to data
Required to create data from awesome readme files
$ npm install awesome-readme-to-data
Note: This project is compatible with node v10+
const awesomeReadmeToData = require('awesome-readme-to-data');
const md = `
# awesome you project
<!-- md-parser-start -->
## Level 1
### Level 1.1
*Description leve 1.1*
- [text link 1](https://url-link-1) - A description link 1
- [text link 2](https://url-link-2) - A description link 2
<!-- md-parser-end -->
`;
awesomeReadmeToData(md, options)
.then(data => {
console.log(data);
});
/* readme.md */
# awesome you project
<!-- md-parser-start -->
## Level 1
### Level 1.1
*Description leve 1.1*
- [text link 1](https://url-link-1) - A description link 1
- [text link 2](https://url-link-2) - A description link 2
### Level 1.2
*Description leve 1.1*
- [text link 1](https://url-link-1)
- [text link 2](https://url-link-2)
<!-- md-parser-end -->
/* output-data.js */
[
{
name: 'Level 1',
children: [{
name: 'Level 1.1',
children: [{
name: 'text link 1',
path: 'https://url-link-1',
description: 'A description link 1'
},{
name: 'text link 2',
path: 'https://url-link-2',
description: 'A description link 2'
}]
},{
name: 'Level 1.2',
description: '*Description leve 1.2*',
children: [{
name: 'text link 1',
path: 'https://url-link-1'
},{
name: 'text link 2',
path: 'https://url-link-2'
}]
}]
}
]
FAQs
Transform awesome readme to data
The npm package awesome-readme-to-data receives a total of 1 weekly downloads. As such, awesome-readme-to-data popularity was classified as not popular.
We found that awesome-readme-to-data 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.