
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
breaklimit
Advanced tools
The CLI to interact with https://breaklimit.vercel.app/.
Enjoy the Break Limit theme song while you get started.
$ npm install -g breaklimit
Then choose the first option to sign up:
$ breaklimit
Read all the text carefully and follow the instructions.
You can run the CLI again without any flags to get additional options:
$ breaklimit
This will give you the following options:
❯ 1. Get Remaining Time
2. Stop Timer
3. Reset Token
4. Set Token
5. Delete User
6. Update Preferences
7. Exit
Get Remaining Time: Will appear if a timer is active. Since CTRL+C will cancel the CLI but not the timer on the website, this way you can get the progress bar back to visualize the remaining time.
Stop Timer: Will appear if a timer is active. It will reset the timer.
Reset Token: Will reset the token and send a new token to your email. Use this if you've lost your token.
Set Token: Will allow you to set an existing token. Use this if you want to use the CLI on a different device with the same user.
Delete User: Will delete your user and all associated data.
Update Preferences: Will allow you to update your preferences which will remember your preferences when you start a timer.
Example commands:
$ breaklimit --time 11:55
$ breaklimit --minutes 0.5 --open
$ breaklimit --seconds 1500 --theme classic
$ breaklimit --minutes 15 --seconds 30
You can always run the following to get an overview of the flags:
$ breaklimit --help
Overview of commands:
| Command | Description |
|---|---|
--open | Opens the timer website in your chosen browser. |
--time <type> | Provide the time until the break ends in the format HH:MM or H:MM. |
--minutes <number> | Provide the length of the break in minutes. |
--seconds <number> | Provide the length of the break in seconds. |
--get-timer | Gets the timer if active and displays it in the terminal. |
--stop-timer | Resets the timer if active. |
--theme <type> | Change the theme of the stopwatch just once. Otherwise, consider changing your preferences. |
--themes | Get a list of available themes. |
These menu options can be invoked simply by running breaklimit:
| Scenario | Menu Option |
|---|---|
| I don't have a user | Sign up |
| I have lost my token | Reset token |
| I want to use the CLI on a different device | Set token |
| I uninstalled/reinstalled breaklimit and the token is no longer set but I have it in an email | Get it from the email -> Set token |
| I want to delete my user and my token is set | Delete user |
| I want to delete my user and I have lost my token | Reset token -> Delete user |
| I want a different endpoint | Delete user -> Sign up |
| I want to change my preferences (public/private timer, default theme, voice) | Update preferences |
You will know if the token is set after running breaklimit and if you see a Sign Up option, the token is not set.
If you see an erno -13: EACCESS: Permission Denied error when trying to install the CLI, you do not have the right to install packages globally. There are three solutions:
Use sudo: You only need to do this for operations that require write operations to your filesystem: installing, creating user, setting token and updating preferences. Running the CLI to start a timer does not require sudo.
Change the default global directory for NPM.
Fix permissions for the global directory:
$ sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}
The classic theme contains a QR code for your custom endpoint. It can be clicked to expand it for easy scanning.
Feel free to open an issue on the GitHub repository.
FAQs
The CLI that sets a new timer for breaklimit
We found that breaklimit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.