
Security News
OpenClaw Skill Marketplace Emerges as Active Malware Vector
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.
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
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.