
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
A job scheduler with elegant syntax.
🚧 Project currently is still in development. Documentation and more features will be delivered soon!
You can install minuette using Yarn:
yarn add minuette
or NPM:
npm i minuette
Public
constructor Minuette()
Creates a new instance of minuette. Can be called as a regular function. Note that minuette sets date and time relative to your system date/time parameters.
.once(dateOrDay) -> {Minuette}
Sets a Job destination date using given day of week or date.
.at(time) -> {Minuette}
Sets a time to run action.
.do(action, args, ctx) -> {Job}
Minimal example of usage:
import minuette from "minuette"
// Will execute given functinon at next nearest friday at 21 hour.
minuette().once("friday").at("9pm").do(() => console.log("Hello, world!"))
An example with absolute date:
import minuette from "minuette"
// Will execute given action at next 31 Oct, in 23:00
minuette().once("31 Oct").at("23:00").do(() => console.log("Boooo!"))
You can optionally omit setting of a date or time. In this case, minuette will use current date or time.
For example:
import minuette from "minuette"
// Will execute this action in same day as `new Date()`
minuette().at("10pm").do(() => console.log("This message appers in 22 hour"))
.once()
, .at()
and .do()
methods for proof-of-concept implementation;.repeat()
and .each()
methods + supports of executing actions many times.in()
that will support alternative time or date setting relative to Date.now()
.pause()
, .resume()
, .stop()
and .reset()
FAQs
A job scheduler with elegant syntax.
We found that minuette 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
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.