
Product
Socket Brings Supply Chain Security to skills.sh
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.
mostly-working-hours
Advanced tools
Call a callback only sometimes with a certian likelihood. The likelihood is higer during normal working hours, and really low in the weekend.
This is useful if you want to simulate load on a server for instance.
npm install mostly-working-hours --save
var maybe = require('mostly-working-hours')
maybe(function () {
console.log('It\'s time to do some work!')
})
maybe(callback)Will call the callback only based on certain odds.
The odds are higest during normal working hours and lowest in the weekend.
MIT
FAQs
Call a callback mostly during normal working hours
We found that mostly-working-hours 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.

Product
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.

Product
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.