
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
create-react-readme
Advanced tools
Generate readme.md from your react library
With NPM
npm i create-react-readme
With Yarn
yarn add create-react-readme
Globally
npm i create-react-readme -g
You also can use it with npx without installing
npx create-react-readme
npm run create-react-readme ./package.json ./src/components/ ./readme.md -s ./setup_readme.md -u ./usage_readme.md -d ./dev_readme.md
You should create a script on your package.json file like so:
{
...
scripts:{
...
create-readme : "yarn create-react-readme ./package.json ./src/components/ ./readme.md -s ./setup_readme.md -u ./usage_readme.md -d ./dev_readme.md"
}
}
So you can simply call it that way :
npm run create-readme
Usage: create-react-readme <pkg> <dir> <output> [options]
Arguments:
Options:
-h, --help output usage information
-V, --version output the version number
-x, --extensions <items> Include only these file extensions. Default: js,jsx
-i, --ignore <items> Folders to ignore. Default: node_modules,__tests__,__mocks__
-e, --exclude-patterns <items> Filename patterns to exclude. Default: []
-t, --template <file> Handlebars template file for generating the readme file. If not specified it will use the default template.
-s, --setup <file> Markdown file to include into 'Installation' section.
-u, --usage <file> Markdown file to include into 'Usage' section.
-d, --dev <file> Markdown file to include into 'Developers' section.
FAQs
Generate readme.md from your react library
We found that create-react-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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.