
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
chronological
Advanced tools
Cron-like time schedule format and calculator
Using a starting anchor, iterates by a number of units. Units are the same as provided to moment.add.
var moment = require('moment');
var chrono = require('chronological');
moment = chrono(moment);
var iso8601 = 'YYYY-MM-DD[T]HH:mm:ssZ';
var startofday = moment.utc().startOf('day');
var everyday = startofday.every(1, 'day');
var daysinmonth = everyday.between(
moment.utc().startOf('month').subtract(1, 'second'),
moment.utc().endOf('month').add(1, 'second')
);
daysinmonth.forEach(function (d) {
console.log(d.format(iso8601));
});
var firstdayafternow = everyday.after(moment.utc());
console.log(firstdayafternow.format(iso8601));
var firstdaybeforenow = everyday.before(moment.utc());
console.log(firstdaybeforenow.format(iso8601));
var moment = require('moment-timezone');
var spanner = require('timespanner');
var chrono = require('chronological');
moment = chrono(spanner(moment));
var iso8601 = 'YYYY-MM-DD[T]HH:mm:ssZ';
moment.spanner('now/m+3s').every(10, 's').timer(function() {
console.log(moment.utc().format(iso8601));
});
FAQs
Cron-like time schedule format and calculator
We found that chronological demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.