IDs-LE

v1.1.0
io.github.nolindnaidoo/ids-le Checked 5 hours ago Published 1 month ago

Extract every UUID, ULID, NanoID, ObjectId and Snowflake, and decode the time inside.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

extract_ids

Extract every identifier from a document — UUID (all versions), ULID, NanoID, MongoDB ObjectId and Snowflake — with its raw text, its line and column, the document's key path for it, and its validity. Where the identifier embeds a time (UUID v1/v6/v7, ULID, ObjectId, Snowflake) the decoded instant is returned as an ISO-8601 UTC string. Parses JSON, YAML, CSV, TOML, INI and dotenv for key paths; anything else is read as text, so a format is optional. A run that cannot be named is returned as a row with `valid: false` and a named reason, never dropped.

ParameterTypeDescription
content *stringThe document text to scan.
filenamestringFilename used to infer the format when `format` is absent, e.g. "config.toml".
formatstringDocument format. Optional — an unrecognised or absent format reads the text directly and returns findings without key paths.
kindstringReturn only one kind. This narrows the report after the analysis, so a run that could not be assigned a kind is not returned at all; omit it for the complete answer.
maxResultsintegerCap on returned rows (default 500). meta.truncated reports whether any were dropped.