Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sprocketbot/listodo

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sprocketbot/listodo

`listodo` is a lightweight and configurable script that lists any TODO comments in your app for better visibility and encouraged resolution.

  • 0.0.19
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
19
increased by850%
Maintainers
2
Weekly downloads
 
Created
Source

listodo

listodo is a lightweight and configurable script that lists any TODO comments in your app for better visibility and encouraged resolution.

Usage

Install listodo into your project

npm i -D @sprocketbot/listodo

Add a script to your package.json

{
    "scripts": {
        "todo": "listodo"
    }
}

Run listodo

npm run todo

Husky Integration

To have listodo run before committing (or with any other Git hook), you need to install and configure husky

# Install husky
npm install husky -D

# Configure your project to set up husky
npm set-script prepare "husky install"
npm run prepare

Then, you can add a hook to run listodo

# Run listodo pre-commit
npx husky add .husky/pre-commit "npx listodo"

# Run listodo on another hook
npx husky add .husky/<git-hook> "npx listodo"

Future plans

  • Ignore package.json and package-lock.json by default
  • Testing
  • Open for community contribution (eslint, commitlint)
  • More config options (colors, show email/show name/both)
  • Get theme from OS?
  • Configure showing days old vs datetime of commit

FAQs

Package last updated on 02 Jan 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc