
Company News
Socket Partners with Replit to Block Malicious Packages in AI-Powered Development
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.
Sloth is a dead simple Chron cli tool for Node.
Install Sloth as a dependency:
npm install --save sloth-cli
Then pass Sloth the length of time it should wait until running your command, and what command to run:
sloth 5 "npm run my-script"
or set it up in your package.json like:
"start": "sloth .1 \"npm run my-script\""
That's it! By default you pass a number of minutes. You can pass a decimal number.
By default the slothed script will only run after the specified length of time. If you want it to also run once immediately, pass true like this:
"start": "sloth .1 \"npm run my-script\" true"
You can also have Sloth log the last iteration time by passing true as a fifth argument:
"start": "sloth .1 \"npm run my-script\" false true"
Terminate the loop by pressing ctrl + c. You may have to press that twice. It's not graceful.
PRs are welcome, and you can always file an issue for features requests, as well as, uh, an issue.
FAQs
a dead simple Chron cli tool for Node
The npm package sloth-cli receives a total of 101 weekly downloads. As such, sloth-cli popularity was classified as not popular.
We found that sloth-cli demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.