Socket
Book a DemoInstallSign in
Socket

breaktime

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

breaktime

Lock your screen based on a timer.

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

Breaktime

Breaktime is a CLI app inspired by Breaktime. The app encourages you to take breaks from your work and device by locking your screen after a set time.

Install

npm i -g breaktime

Usage

breaktime [amount unit] [-say]

Running breaktime on your console will give you the default timer of 45 minutes. To set a custom timer, simply type it out after breaktime: e.g. breaktime 20 minutes. The app uses moment to parse the time, so most formats are supported.

The -say option will tell you when there are 5 seconds remaining using the built-in text-to-speech of your device.

Examples

breaktime 45 minutes
breaktime 2 hours -say
breaktime 10 seconds

Contributing

Feel free to submit an issue to bring up a bug or suggest an improvement, or to submit a pull request with your improvement implemented.

FAQs

Package last updated on 30 Nov 2018

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.