ownId
uses node:crypto
A name for what's this process's own among other processes' (<pid>-<random>): a build's private directory, a
lease, a dev server's files. ownerGone reads the process back from it.
import { randomBytes } from "node:crypto"; export const ownId = () => `${process.pid}-${randomBytes(4).toString("hex")}`