
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@hitorisensei/markdown-readme-generator
Advanced tools
Fills template blocks within your markdown readme files. With monorepo packages support build-in.
Fills template blocks within your markdown readme files. With monorepo packages support build-in.
Use
<!-- {blockname} --><!-- {blockname} end -->
within your markdown file.
After processing, contents between those comment blocks will be filled.
Look at this README.md source for comparison.
package.json
:<!-- title -->
# @hitorisensei/markdown-readme-generator
<!-- title end -->
<!-- description -->
Fills template blocks within your markdown readme files. With monorepo packages support build-in.<!-- description end -->
`yargs` dependency version: **<!-- dependencies.yargs -->^17.0.1<!-- dependencies.yargs end -->** !
gives:
yargs
dependency version: ^17.0.1 !
...etc
<!-- packages -->
## example
`example-monorepo-package`
A monorepo package example
<!-- packages end -->
<!-- link example -->
[example](#example)
<!-- link example end -->
Options:
--version Show version number [boolean]
-o, --outFile output file path. Can be relative to project root or absolute
[required] [default: "README.md"]
-i, --inFile input/template file path. Can be relative to project root or
absolute. If inFile is used, outFile will not contain
template comment tags, unless keepTags option is set.
[default: "README.md"]
--packages packages directory location [default: "packages/"]
--keepTags keep template tags even if inFile is used.
[boolean] [default: false]
--project root project location
--dry do not write output file, print results to stdout instead
[boolean]
-r, --recursive should also update readme files in packages [default: true]
--create create readme file if one does not exist yet [default: true]
-v, --verbose display verbose output [boolean] [default: false]
--custom load custom block definitions from file (js or json)
--help Show help [boolean]
You can describe your own replacement blocksCustom with either .json file or .js module
const { execSync } = require('child_process');
const usageContent = execSync('node . --help').toString();
module.exports = {
// you can use https://www.npmjs.com/package/json2md notation
asJsonMD: [
{
code: {
language: 'bash',
content: [usageContent],
},
},
],
// or literal markdown
asLiteralMd: `
\`\`\`bash
${usageContent}
\`\`\`
`,
};
{
"asJsonMD": [
{
"code": {
"language": "bash",
"content": [
"Options:\n --version Show version number [boolean]\n -o, --outFile output file path. Can be relative to project root or absolute\n [required] [default: \"README.md\"]\n -i, --inFile input/template file path. Can be relative to project root or\n absolute. If inFile is used, outFile will not contain\n template comment tags, unless keepTags option is set.\n [default: \"README.md\"]\n --packages packages directory location [default: \"packages/\"]\n --keepTags keep template tags even if inFile is used.\n [boolean] [default: false]\n --project root project location\n --dry do not write output file, print results to stdout instead\n [boolean]\n -r, --recursive should also update readme files in packages [default: true]\n --create create readme file if one does not exist yet [default: true]\n -v, --verbose display verbose output [boolean] [default: false]\n --custom load custom block definitions from file (js or json)\n --help Show help [boolean]\n"
]
}
}
],
"asLiteralMd": "\n ```bash\n Options:\n --version Show version number [boolean]\n -o, --outFile output file path. Can be relative to project root or absolute\n [required] [default: \"README.md\"]\n -i, --inFile input/template file path. Can be relative to project root or\n absolute. If inFile is used, outFile will not contain\n template comment tags, unless keepTags option is set.\n [default: \"README.md\"]\n --packages packages directory location [default: \"packages/\"]\n --keepTags keep template tags even if inFile is used.\n [boolean] [default: false]\n --project root project location\n --dry do not write output file, print results to stdout instead\n [boolean]\n -r, --recursive should also update readme files in packages [default: true]\n --create create readme file if one does not exist yet [default: true]\n -v, --verbose display verbose output [boolean] [default: false]\n --custom load custom block definitions from file (js or json)\n --help Show help [boolean]\n\n ```\n "
}
FAQs
Fills template blocks within your markdown readme files. With monorepo packages support build-in.
The npm package @hitorisensei/markdown-readme-generator receives a total of 5 weekly downloads. As such, @hitorisensei/markdown-readme-generator popularity was classified as not popular.
We found that @hitorisensei/markdown-readme-generator 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.