
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.
iso-time-parser
Advanced tools
ISO 8601 Time parser (not date, nor duration)
npm i iso-time-parser
Example:
import { parse, toLocalTime, toUTC } from 'iso-time-parser';
// Local time is Central European Summer Time (CEST) in this example
// Pulled from `new Date().getTimezoneOffset()`
parse('T11:22:33,4444Z').then(console.log);
// {
// hours: 11,
// minutes: 22,
// seconds: 33,
// fracSec: 4444,
// rawShift: { hours: 0, minutes: 0, sign: 1 },
// shiftInMinutes: 0
// }
parse('T11:22:33,4444Z').then(toLocalTime).then(console.log);
// {
// hours: 13,
// minutes: 22,
// seconds: 33,
// fracSec: 4444,
// rawShift: { hours: 2, minutes: 0, sign: -1 },
// shiftInMinutes: -120
// }
parse('T11:22:33,4444+03:45').then(toLocalTime).then(console.log);
// {
// hours: 9,
// minutes: 37,
// seconds: 33,
// fracSec: 4444,
// rawShift: { hours: 1, minutes: 45, sign: 1 },
// shiftInMinutes: 105
// }
parse('T11:22:33,4444+03:45').then(toUTC).then(console.log);
// {
// hours: 7,
// minutes: 37,
// seconds: 33,
// fracSec: 4444,
// rawShift: { hours: 3, minutes: 45, sign: 1 },
// shiftInMinutes: 225
// }
Install deps
npm i
Build/bundle package
npm run build
Build docs
npx typedoc src/index.ts
Bump version
npm version {major, minor, patch}
Publish
npm publish --access public
FAQs
ISO 8601 Time parser (not date, nor duration)
The npm package iso-time-parser receives a total of 4 weekly downloads. As such, iso-time-parser popularity was classified as not popular.
We found that iso-time-parser 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.
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.