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

cli-tasklist

v1.0.2

Published

cli to-do list

Downloads

4

Readme

Note: This is still a big work in progress!


Clist

TOC


  • Description of Clist
  • Server side
  • List of current functionality
  • WIP / Goals
  • Function documentation

Description


Why is the npm package called cli-tasklist if it's called clist? Because the name clist is taken! Clist is a command line interface / application for creating to-do lists by communicating with a webhosted sql database. Why a CLI? I wanted to make something that would be fast, and wouldn't require much loading. Something that you could use inbetween git pushes to check on what you still need to get done, or after a break if you've forgotten what you're working on, even to start off the morning and get going quickly.

Server side


First off by default the program is set to a glitch hosted server with a simple sqlite database. The server file can be found on the github for this project located here. The file is named server.js, and you can make your own glitch hosted sql db pretty easily. It's free too! Or you can use it on your own server or however you like really, it's up to you. The server dependencies are as follows:

  • Express
  • sqlite3
  • moment
  • nodemailer
  • node-schedule

Note If you do make your own sql db and want to use that instead, be sure to change the base URLs in index.js Also currently the server.js file is the only thing being used on glitch, I might make this a webapp at some point but currently I'm working on finishing everything else first.

Current Functionality


  • Display to-do list items
  • Add items to your list
  • Update items in your list
  • Remove items from your list
  • Email your list to one or more person
  • Displays time since, in days, an item was added to the list

Short-term larger scale goals

  • Login system
  • Daily email

Minor changes

  • Display time remaining until due-date
  • Display current time
  • Display date item was added in time since column
  • Get rid of username column from modify command
  • Make email function more dynamic
    • If user says yes to wanting to add more recipients, askes for how many more, and then does for i in num_of_recipients etc...
  • Make a better "item has been received response"

Long term goals

  • All in one bundle, download and becomes useable
  • Users have separate to-do lists
    • Maybe allow users to have more than one to-do list,

Functions


Show list items
clist s

List is then printed to the console, in a table, certain values are highlighted for clarity.


Add item to list
clist a
// User is then prompted with the following questions:
"Name of item"
"Description of item"
"Due date: must be in mm/dd/yyyy format"
"Time since automatically generated"

Item is then sent and added to list


Modify list item
clist m

User then chooses item to be modified, then prompted to choose the column for said item they'd like to change, and finally prompted for the new value. Item is then modified in database


Delete list item
clist d
//User then chooses item to be deleted.

Item is then deleted from the database. ** Cannot be undone **


Email list items
clist e

User is prompted for email, and then asked if they'd to add more like more email addresses Entered recipients are then emailed the entire to-do list