Repo maintenance made easy
npm install repo-check






!logo
- Repo Checker
- Demo
- Usage
- Parameters
- target
- fix
- init
- quiet
- Todo
- Thanks
- Page views
!demo
Choose your favorite method :
1. Via npx : npx repo-check
2. Via npm locally : pnpm install repo-check then run npx repo-check or use it in your package.json scripts
3. Via local installation : clone this repository, cd into the folder and use pnpm start, pnpm start --target=../my-other-project for single run or pnpm dev, pnpm dev --target=../my-other-project
Pro tip : init repo-checker before fixing files.
--target=path/to/folder tells repo-checker which directory it should scan.
If no target is specified, repo-checker will scan current directory.
Target can be a relative or absolute path, can contain one project or more.
--fix kindly ask repo-checker to try to create missing files or update problematic ones.
For example, repo-checker will check for a README.md, if it does not exists, the file will be created and filled with data accordingly to the README.md template (templates/README.md).
Repo-checker will try to grab as much info as possible from the project folder to create this file.
If it's not enough, you'll be prompt to init.
If you want to fix already existing files, use --force to overwrite it.
--init ask repo-checker to initialize a data config file in the current directory.
If file already exists, use --force to overwrite it.
--quiet repo-checker will works silently without output-ing to console, will only output to log file.
- [ ] if website : check static folder : should have "_headers" & "favicon.ico" and "manifest.json" files inside
- [ ] compute build/dist/folder/public size for maxSize compliance
- [ ] check rel="noopener" or rel="noreferrer" to any external links to improve performance and prevent security vulnerabilities
- [ ] check width and height attributes to any or
- Arg : un-opinionated, no-frills CLI argument parser
- Biome : super fast linter & formatter
- Boxy Svg : simple & effective svg editor
- Bun : super fast runtime for JavaScript and TypeScript
- Dependency-cruiser : handy tool to validate and visualize dependencies
- Github : for all their great work year after year, pushing OSS forward
- Knip : super tool to find & fix problems
- Oxc : a lovely super-fast collection of JavaScript tools written in Rust
- Repo-checker : eslint cover /src code and this tool the rest ^^
- Shields.io : for the nice badges on top of this readme
- Shuutils : collection of pure JS utils
- Svg Omg : the great king of svg file size reduction
- Tsup : super fast js/ts bundler with no config, powered by esbuild <3
- V8 : simple & effective cli for code coverage
- Vitest : super fast vite-native testing framework
- Watchlist : recursively watch a list of directories & run a command on any file system