
Security News
AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.
extract-time
Advanced tools
Extracts time from an arbitrary text input.
import extractTime from 'extract-time';
extractTime('extracts time from anywhere within the input 14:00');
// [{time: '14:00'}]
extractTime('extracts multiple times located anywhere within the input: 16:00, 18:00');
// [{time: '16:00'}, {time: '18:00'}]
extractTime('distinguish between the civilian 1:30 PM ...');
// [{time: '13:30'}]
extractTime('... and military time formats 13:30');
// [{time: '13:30'}]
extractTime('resolves ambiguous times using the provided time notation bias 1:30', 12);
// [{time: '13:30'}]
/**
* Indicates if time format is 12-hour or 24-hour clock notation.
*/
export type TimeNotationType = 12 | 24;
/**
* @property time 24-hour military time.
*/
type TimeMatchType = {|
+time: string
|};
/**
* @param subject Arbitrary text input.
*/
type extractTime = (
subject: string,
timeNotation: TimeNotationType,
) => $ReadOnlyArray<TimeMatchType>;
extract-date – Extracts date from an arbitrary text input.extract-price – Extracts price from an arbitrary text input.FAQs
Extracts time from an arbitrary text input.
The npm package extract-time receives a total of 66 weekly downloads. As such, extract-time popularity was classified as not popular.
We found that extract-time 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
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.

Research
/Security News
Chrome extension CL Suite by @CLMasters neutralizes 2FA for Facebook and Meta Business accounts while exfiltrating Business Manager contact and analytics data.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.