{"_id":"@absolutejs/slo","name":"@absolutejs/slo","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@absolutejs/slo","version":"0.1.0","description":"Storage-neutral SLO, error-budget, burn-rate, release-gate, and incident-decision primitives for AbsoluteJS.","repository":{"type":"git","url":"git+https://github.com/absolutejs/slo.git"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"license":"BSL-1.1","publishConfig":{"access":"public"},"scripts":{"build":"rm -rf dist && bun build src/index.ts --outdir dist --root src --sourcemap --target=bun && tsc --project tsconfig.build.json","format":"prettier --write \"./**/*.{ts,json,md}\"","test":"bun test","typecheck":"tsc --noEmit","check:package":"bun run format && bun run typecheck && bun run test && bun run build","release":"bun run check:package && bun publish"},"devDependencies":{"@types/bun":"^1.3.14","prettier":"^3.8.3","typescript":"^5.9.3"},"_id":"@absolutejs/slo@0.1.0","_integrity":"sha512-lFY9YxbxWOonoeZp6lj8N/hC9UL+yfXH1Jbs2jdbgjwinF5v9SiDNXhHY0QyoWeOtW4+qbcFjlmhHn9c/jkHog==","_nodeVersion":"24.3.0","_npmVersion":"10.8.3","shasum":"c0c1935fa3f9709865d934c2ee60ce6f1b222280","dist":{"integrity":"sha512-lFY9YxbxWOonoeZp6lj8N/hC9UL+yfXH1Jbs2jdbgjwinF5v9SiDNXhHY0QyoWeOtW4+qbcFjlmhHn9c/jkHog==","shasum":"c0c1935fa3f9709865d934c2ee60ce6f1b222280","tarball":"https://registry.npmjs.org/@absolutejs/slo/-/slo-0.1.0.tgz","fileCount":7,"unpackedSize":23038,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD3ngKlLT+T0R7aoTiImofsk+VKa5JQlDKTgUz2322g9gIgZXxNMZBWfA7zUMdzEUyg8uubhDhgdo3LPambg9u3Saw="}]},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"directories":{},"maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/slo_0.1.0_1785165126999_0.6060193866956345"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-27T15:12:06.801Z","0.1.0":"2026-07-27T15:12:07.132Z","modified":"2026-07-27T15:12:07.324Z"},"maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"description":"Storage-neutral SLO, error-budget, burn-rate, release-gate, and incident-decision primitives for AbsoluteJS.","repository":{"type":"git","url":"git+https://github.com/absolutejs/slo.git"},"license":"BSL-1.1","readme":"# @absolutejs/slo\n\nStorage-neutral service-level objective decisions for AbsoluteJS.\n\nThe package converts already-authorized measurements into deterministic error\nbudgets, burn-rate alerts, release gates, and incident transitions. It does not\nown storage, scraping, paging providers, or application policy.\n\n```ts\nimport { evaluateSlo, sloReleaseGate } from \"@absolutejs/slo\";\n\nconst evaluation = evaluateSlo(\n  {\n    id: \"checkout-availability\",\n    objective: 0.999,\n    windowMs: 30 * 86_400_000,\n    minimumSamples: 1_000,\n  },\n  { good: 99_950, total: 100_000, start, end },\n);\n\nconst gate = sloReleaseGate(evaluation);\n```\n\nUse `evaluateBurnRates` for sustained multi-window alerting and\n`sloIncidentDecision` to prepare idempotent open/resolve transitions for\n`@absolutejs/incidents`.\n","readmeFilename":"README.md","_rev":"1-4e01395c7de1921ab01054d6187fe817"}