npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

2do-cli

v1.1.7

Published

2do inside your command line

Downloads

64

Readme

2do-cli Build Status Download-week

Commnad line todo app.

Demo

Installation

npm i -g 2do-cli

Or if using Yarn:

yarn global add 2do-cli

Usage


Initializing

Open up any repository that you want to use 2do-cli indside.
Then type:

2do

2do-cli will start, after that write :

init

And 2do-cli will generate a 2do.json file in you repo.


Adding a file

To work with 2do-cli you have add a file and then todos related to that.
Lets say you have a file named main.js and you want to add some todos for this file, to do so (after inializing 2do-cli in your repo) you have to type:

add main.js 'Here is my first todo for main.js' 

After a while you might know that you want to add another todo for same file, so just use same command like:

add main.js 'Here is my second todo for main.js '

Show todo

Now if you want to see all todos of main.js you simply write:

show main.js

and all todos of that file will appear.


Check todo

So what if you want to know you have completed a todo or not. There is default status field for every todo, and it's value is set to undone by default. If you want to change it so that you know your todo is done:

check main.js 4

This will set status of fourth todo of main.js to done.


Listing

You can list all of files which have todos in current directory and select any one that you want, by typing :

list

Removing

You can remove a file, which removes all of it's todos too, or you can only remove a todo of a file, to do prior one you just write:

delete main.js

And if you want to remove only second todo of this file you go like:

delete main.js 2

Above command will remove second todo of main.js .


Version

To get current version just type :

version