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 🙏

© 2026 – Pkg Stats / Ryan Hefner

take-ten

v1.1.2

Published

Node.js CLI based timer to schedule breaks and send push notification

Readme

Take-Ten

take-ten is a node.js CLI based timer to schedule breaks and send push notifications directly to your computer! It loosely follows the Pomodoro technique of working and taking breaks in-between.

Pre-requisites :

  • Node.js : Installation guideline here.
  • PM2 : PM2 is a process manager for running background tasks. take-ten requires pm2 to run notification daemon so it'll be installed automatically while running take-ten for the first time. Can be installed explicitly from here.
  • Basic notification libraries/drivers to run node-notifier. These are mostly installed as defaults in various OS. List can be found here.

Installation

npm install take-ten -g

Usage:

To start take-ten , run take-ten start from command-line. To stop, run take-ten stop.

take-ten [options][command]

Options:
-V, --version output the version number
-h, --help display help for command

Commands:
start START background process for push-notification
stop STOP background process for push-notification
help [command] display help for command

after starting , user will be prompted as below,

  1. Pick a work duration. take-ten will send a push-notification after this amount of time. default: 25 minutes
?   Pick Work Duration :  (Use arrow keys)
❯   25 Minutes
    1 Hour
    2 Hours
  1. Pick a break duration. take-ten will send a push-notification after this amount of time informing the break session is over! default: 5 minutes
?   Pick Break duration :  (Use arrow keys)
❯   5 Minutes
    10 Minutes
    20 Minutes
  1. Enter how many cycles of work-break set wll be needed. If something other than number is added, defaults to 2. default: 2
?   Enter Number of Work-Break Sets :  (2)
  1. Any custom message to remind that break-time has began! default: Get up and Drink Water!
?   Enter a notification message :  (Get up and Drink Water!)

To be noted :

The app can be monitored/edited/stopped directly using pm2. For that, run pm2 ls and look for the process named notify. That process can be treated as a normal pm2 process.

Issues :

None that I know of till @1.1.0 . The app is very simple and straightforward at this stage. I am very new to JS and in app development altogether! so if there are any problems; I might have missed it! Please open an issue or submit pull request to fix/look into any problem 😊

Changelog

1.1.0@ 04.08.2020

Added :

  1. Automated stop process. The notifier daemon will stop after all sets are complete. Will give a notification after stopping.
  2. A cute dog picture will show as a notification picture showing you thumbs up for your hard-work!
  3. Colored inputs and console messages.

Fixed :

  1. Input glitch that showed the first input prompt twice.
  2. Fallback value to set when entering anything other than number.
  3. Error Handling.

Upcoming Features :

[ ] Custom work and break time ** [ ] Notification sound * [ ] Option to customize image, title and sound of the notification *