{"_id":"@ampcode/svelte-check-daemon","_rev":"8-ba9913143a6503077c138a9689a135cb","name":"@ampcode/svelte-check-daemon","dist-tags":{"latest":"0.0.6"},"versions":{"0.0.1":{"name":"@ampcode/svelte-check-daemon","version":"0.0.1","license":"Apache-2.0","_id":"@ampcode/svelte-check-daemon@0.0.1","maintainers":[{"name":"sqs","email":"sqs@sourcegraph.com"}],"homepage":"https://github.com/ampcode/svelte-check-daemon","bugs":{"url":"https://github.com/ampcode/svelte-check-daemon/issues"},"bin":{"svelte-check-daemon":"bin/svelte-check-daemon.js"},"dist":{"shasum":"6a4a0b70121e70a8d7939efc89d541711800ce53","tarball":"https://registry.npmjs.org/@ampcode/svelte-check-daemon/-/svelte-check-daemon-0.0.1.tgz","fileCount":16,"integrity":"sha512-GQwHSxWT6HLiPgRTMWaAbXXz2omaIhdC2AJJhT3PAtRnJzccF1GXhAwDY8q5Cdju0WjErdpY4pmI4zyvWhA4kA==","signatures":[{"sig":"MEUCIFmjQIuXqgv9jML1rD53vFVHQeA7XP7z60asCHMJZWpuAiEAxcWyFWL2q20/igUEXhCEo4zbCafW9raPJDDx7dpeHeA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41299},"type":"module","engines":{"node":">= 18.0.0"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"gitHead":"140d0086d83622229f64e0bf828f5780aa958527","scripts":{"build":"tsc","prepublishOnly":"pnpm build"},"_npmUser":{"name":"sqs","email":"sqs@sourcegraph.com"},"publisher":"ampcode","repository":{"url":"git+https://github.com/ampcode/svelte-check-daemon.git","type":"git"},"_npmVersion":"10.9.3","description":"A daemon for svelte-check that caches results for faster type checking","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"peerDependencies":{"svelte-check":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-check-daemon_0.0.1_1764812007575_0.865007630986804","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@ampcode/svelte-check-daemon","version":"0.0.3","license":"Apache-2.0","_id":"@ampcode/svelte-check-daemon@0.0.3","maintainers":[{"name":"sqs","email":"sqs@sourcegraph.com"}],"homepage":"https://github.com/ampcode/svelte-check-daemon","bugs":{"url":"https://github.com/ampcode/svelte-check-daemon/issues"},"bin":{"svelte-check-daemon":"bin/svelte-check-daemon.js"},"dist":{"shasum":"c77c98145458738e78c633985f3afec8642e6d44","tarball":"https://registry.npmjs.org/@ampcode/svelte-check-daemon/-/svelte-check-daemon-0.0.3.tgz","fileCount":16,"integrity":"sha512-Qo0ixQIow3zLuFG78nztRCeGs95lP8NHtPESyOwi+RVAB4XvgmkAhvAUdmcVOX3bFx63TqjIBihoquzq5LXzbg==","signatures":[{"sig":"MEQCIHvZXPGTlGAuYBYU+LY9Srom2OWnc5vh/69ubpRzn11IAiA2xxylbna6rfXS6vAsFdwrl59FSUq2ULeyohnBg/JWuA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41475},"type":"module","engines":{"node":">= 18.0.0"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"gitHead":"d219d5b1f4206d0584a2e21077cc18908a8f9d8b","scripts":{"build":"tsc","prepublishOnly":"pnpm build"},"_npmUser":{"name":"sqs","email":"sqs@sourcegraph.com"},"publisher":"ampcode","repository":{"url":"git+https://github.com/ampcode/svelte-check-daemon.git","type":"git"},"_npmVersion":"10.9.3","description":"A daemon for svelte-check that caches results for faster type checking","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"peerDependencies":{"svelte-check":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-check-daemon_0.0.3_1764813860677_0.5373257262697468","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@ampcode/svelte-check-daemon","version":"0.0.4","license":"Apache-2.0","_id":"@ampcode/svelte-check-daemon@0.0.4","maintainers":[{"name":"sqs","email":"sqs@sourcegraph.com"}],"homepage":"https://github.com/ampcode/svelte-check-daemon","bugs":{"url":"https://github.com/ampcode/svelte-check-daemon/issues"},"bin":{"svelte-check-daemon":"bin/svelte-check-daemon.js"},"dist":{"shasum":"cd7edcf7af9d6333d1344c77fc3c4b0cbb5a579d","tarball":"https://registry.npmjs.org/@ampcode/svelte-check-daemon/-/svelte-check-daemon-0.0.4.tgz","fileCount":17,"integrity":"sha512-W7SBUZII9eXpMLf4w665yajKlTLlFcLuZuoWLLydvc9l6oT3xmv3OvMZyyxOOCi1kVk3jZZV0vRjGnwXk6uEwQ==","signatures":[{"sig":"MEQCIC+Sj3ds5FJ5ieu475OOOpyxNvkB81shSxiyiPEPGb+jAiAk3O8HOlc8Dsgw5LZIoFNtYEMGi0pRlbEBqq3J5hOn5A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41660},"type":"module","engines":{"node":">= 18.0.0"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"gitHead":"4cbe3abddefdc09f0fdcf48e884e108d950ac571","scripts":{"build":"tsc","prepublishOnly":"pnpm build"},"_npmUser":{"name":"sqs","email":"sqs@sourcegraph.com"},"publisher":"ampcode","repository":{"url":"git+https://github.com/ampcode/svelte-check-daemon.git","type":"git"},"_npmVersion":"10.9.3","description":"A daemon for svelte-check that caches results for faster type checking","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"packageManager":"pnpm@10.24.0","devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"peerDependencies":{"svelte-check":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-check-daemon_0.0.4_1765018982301_0.0030321188950570566","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@ampcode/svelte-check-daemon","version":"0.0.5","license":"Apache-2.0","_id":"@ampcode/svelte-check-daemon@0.0.5","maintainers":[{"name":"sqs","email":"sqs@sourcegraph.com"}],"homepage":"https://github.com/ampcode/svelte-check-daemon","bugs":{"url":"https://github.com/ampcode/svelte-check-daemon/issues"},"bin":{"svelte-check-daemon":"bin/svelte-check-daemon.js"},"dist":{"shasum":"56fb2407063c8115a6377b0e5027fcac10c41bce","tarball":"https://registry.npmjs.org/@ampcode/svelte-check-daemon/-/svelte-check-daemon-0.0.5.tgz","fileCount":12,"integrity":"sha512-LXp04c1Opalr/4n9ZljL8sWz9ZKvnDZa0J1jaizz+oqdCyxDMxokV8nhms3Tazl8xHkmjlD5OL4GAhOOuXojSA==","signatures":[{"sig":"MEUCIEI8YLGgxz+r6XE4NmNowtmoZXO03KPeVheqcqhUqYdwAiEAk/hZB75k2FKlkTXcxuuqecmVltgKay+n6IdqueoHdzs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ampcode%2fsvelte-check-daemon@0.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":46593},"type":"module","_from":"file:ampcode-svelte-check-daemon-0.0.5.tgz","engines":{"node":">= 18.0.0"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"scripts":{"build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:752d8687-a70c-44c8-b89c-b61510acb28e"}},"_resolved":"/tmp/5d4fac80a9abe5c0c10ed7ea6bfc9ff5/ampcode-svelte-check-daemon-0.0.5.tgz","publisher":"ampcode","_integrity":"sha512-LXp04c1Opalr/4n9ZljL8sWz9ZKvnDZa0J1jaizz+oqdCyxDMxokV8nhms3Tazl8xHkmjlD5OL4GAhOOuXojSA==","repository":{"url":"git+https://github.com/ampcode/svelte-check-daemon.git","type":"git"},"_npmVersion":"11.6.2","description":"A daemon for svelte-check that caches results for faster type checking","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"peerDependencies":{"svelte-check":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-check-daemon_0.0.5_1767833780019_0.8343165496059799","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@ampcode/svelte-check-daemon","version":"0.0.6","license":"Apache-2.0","_id":"@ampcode/svelte-check-daemon@0.0.6","maintainers":[{"name":"sqs","email":"sqs@sourcegraph.com"}],"homepage":"https://github.com/ampcode/svelte-check-daemon","bugs":{"url":"https://github.com/ampcode/svelte-check-daemon/issues"},"bin":{"svelte-check-daemon":"bin/svelte-check-daemon.js"},"dist":{"shasum":"1054218adee50de37d98139939bdea1b6a91cccb","tarball":"https://registry.npmjs.org/@ampcode/svelte-check-daemon/-/svelte-check-daemon-0.0.6.tgz","fileCount":12,"integrity":"sha512-nvYmjU/WYZuID03Cuc2SxiUKFzhlzE5Z2CQOWwrg5dqWrM06eHeOEyW4V77fjSY8TlYZ8dkPCgKmADsXlve51w==","signatures":[{"sig":"MEYCIQDwYPdio9itMOUQF2KE+mPe+NUGdKllbq+vBRMWyn2YJQIhAKWCKmfVnSgoPNOwxUgr1fuM5DYsJrt5p5qGg5qmq81v","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ampcode%2fsvelte-check-daemon@0.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":46672},"type":"module","_from":"file:ampcode-svelte-check-daemon-0.0.6.tgz","engines":{"node":">= 18.0.0"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"scripts":{"build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:752d8687-a70c-44c8-b89c-b61510acb28e"}},"_resolved":"/tmp/209455ee8854080fadc4208f2ea5ad03/ampcode-svelte-check-daemon-0.0.6.tgz","publisher":"ampcode","_integrity":"sha512-nvYmjU/WYZuID03Cuc2SxiUKFzhlzE5Z2CQOWwrg5dqWrM06eHeOEyW4V77fjSY8TlYZ8dkPCgKmADsXlve51w==","repository":{"url":"git+https://github.com/ampcode/svelte-check-daemon.git","type":"git"},"_npmVersion":"11.6.2","description":"A daemon for svelte-check that caches results for faster type checking","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"peerDependencies":{"svelte-check":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-check-daemon_0.0.6_1767836765401_0.22250358434483997","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-12-04T01:33:27.481Z","modified":"2026-06-03T19:49:20.967Z","0.0.1":"2025-12-04T01:33:27.711Z","0.0.3":"2025-12-04T02:04:20.808Z","0.0.4":"2025-12-06T11:03:02.439Z","0.0.5":"2026-01-08T00:56:20.167Z","0.0.6":"2026-01-08T01:46:05.581Z"},"bugs":{"url":"https://github.com/ampcode/svelte-check-daemon/issues"},"license":"Apache-2.0","homepage":"https://github.com/ampcode/svelte-check-daemon","repository":{"url":"git+https://github.com/ampcode/svelte-check-daemon.git","type":"git"},"description":"A daemon for svelte-check that caches results for faster type checking","maintainers":[{"email":"sqs@sourcegraph.com","name":"sqs"},{"email":"svc-npm@ampcode.com","name":"ampcode-bot"},{"email":"will@ampcode.com","name":"willamp-npm"},{"email":"camden@ccheek.com","name":"camdencheek"},{"email":"tim@timculverhouse.com","name":"rockorager"},{"email":"karl@ampcode.com","name":"karl-amp"}],"readme":"# svelte-check-daemon\n\nInstant `svelte-check` typechecking and diagnostics in [SvelteKit](https://svelte.dev/docs/kit/introduction) projects, by using a daemon that monitors `svelte-check --watch` and returns the latest results when you run `svelte-check-daemon check`.\n\n## Usage\n\nAdd `@ampcode/svelte-check-daemon` as a dependency to your project:\n\n```bash\nnpm install --save-dev @ampcode/svelte-check-daemon\n# -or-\npnpm add -D @ampcode/svelte-check-daemon\n```\n\nThen update your `package.json` scripts to run `svelte-check-daemon start` alongside your dev server and `svelte-check-daemon check` to get results:\n\n```json\n{\n    \"scripts\": {\n        \"dev\": \"concurrently \\\"svelte-check-daemon start --tsconfig tsconfig.json\\\" \\\"vite dev\\\"\",\n        \"check\": \"svelte-check-daemon check\"\n    }\n}\n```\n\nThis uses [concurrently](https://www.npmjs.com/package/concurrently) to run both processes and ensure the daemon is properly terminated when you stop the dev server.\n\nIf the daemon isn't running, `svelte-check-daemon check` will just run `svelte-check`, which is a fallback in CI or if you've forgotten to run the daemon.\n\n## Commands\n\n| Command                      | Description                                                  |\n| ---------------------------- | ------------------------------------------------------------ |\n| `svelte-check-daemon start`  | Start the daemon (runs `svelte-check --watch` in background) |\n| `svelte-check-daemon check`  | Get the latest results from the daemon                       |\n| `svelte-check-daemon stop`   | Stop the running daemon                                      |\n| `svelte-check-daemon status` | Show daemon status                                           |\n\n## Options\n\n| Option               | Description                                    |\n| -------------------- | ---------------------------------------------- |\n| `--workspace <path>` | Path to workspace (default: current directory) |\n| `--tsconfig <path>`  | Path to tsconfig.json                          |\n| `--help`             | Show help message                              |\n\n## Signals\n\n| Signal   | Description                                                                                                     |\n| -------- | --------------------------------------------------------------------------------------------------------------- |\n| `SIGHUP` | Restarts `svelte-check --watch`. Useful when you want to force a full recheck without restarting the daemon.   |\n\nTo force a restart: `pkill -HUP svelte-check-daemon`\n\n## AGENTS.md\n\nAdd this to your project's `AGENTS.md` to help AI agents work with the daemon:\n\n```markdown\nIf svelte-check results seem stale, run `pkill -HUP svelte-check-daemon` to force a full recheck.\n```\n\n## Environment variables\n\n| Variable                          | Description                                                                                                                                                                                                     |\n| --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `SVELTE_CHECK_WATCH_BIG_CHANGES`  | Path to a directory (relative to cwd) to watch for deleted files. When a file is deleted in this directory, `svelte-check --watch` is restarted. Useful when `svelte-check --watch` gets out of sync after many file deletions. |\n| `NO_SVELTE_CHECK_DAEMON`          | Set to `1` to disable the daemon (the `start` command will exit immediately, which means checking will always run a full `svelte-check` and not use cached results).                                                                                                                                  |\n| `VERBOSE`                         | Set to enable verbose logging.                                                                                                                                                                                  |\n","readmeFilename":"README.md"}