@vforsh/argus-core
v0.1.2
Published
Shared types and registry helpers for Argus packages.
Readme
argus-core
Shared types and registry helpers for Argus packages.
Install
npm install @vforsh/argus-coreUsage
import type { LogEvent } from '@vforsh/argus-core'Exports
- Protocol types:
LogEvent, response models - Registry helpers:
readRegistry,writeRegistry,pruneStaleWatchers
Registry
The registry file lives at ~/.argus/registry.json (macOS/Linux) or %USERPROFILE%\.argus\registry.json (Windows). Entries are updated with updatedAt and pruned using a TTL.
