{"_id":"@01edu/api-client","_rev":"11-7db3a2f924a5d840a89383aba4dd5f5e","name":"@01edu/api-client","dist-tags":{"latest":"0.2.6"},"versions":{"0.1.1":{"name":"@01edu/api-client","version":"0.1.1","license":"MIT","_id":"@01edu/api-client@0.1.1","maintainers":[{"name":"kigiri","email":"le.mikmac@gmail.com"}],"homepage":"https://github.com/01-edu/framework#readme","bugs":{"url":"https://github.com/01-edu/framework/issues"},"dist":{"shasum":"f66e420247d142ad4b39ec4754e633d3e5483fcd","tarball":"https://registry.npmjs.org/@01edu/api-client/-/api-client-0.1.1.tgz","fileCount":5,"integrity":"sha512-HyP74E1q3MNnox4e5lY01jF+0lsCeeyzgliGIL7tXzlsP270yK0CssyUbLk/GvsSCuI/Q6p7ehwWD5QQ5eqpIw==","signatures":[{"sig":"MEYCIQDTw9PCvQlgypy58apYx9q05bKLQQKyN/tl5bZmHY3WNgIhAOuU+27kWBwoKqBOvwae/OasTPE1oo/Owa49I4PKHV+k","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14031},"module":"./esm/api-client/mod.js","exports":{".":{"import":"./esm/api-client/mod.js"}},"gitHead":"4fcff11f56c96bc6539eed9dd73a962137072d9a","scripts":{"test":"node test_runner.js"},"_npmUser":{"name":"kigiri","email":"le.mikmac@gmail.com"},"repository":{"url":"git+https://github.com/01-edu/framework.git","type":"git"},"_npmVersion":"11.6.2","description":"","directories":{},"sideEffects":false,"_nodeVersion":"24.9.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"picocolors":"^1.0.0"},"peerDependencies":{"@preact/signals":"^2.5.1"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.1.1_1764284335590_0.6135562867271236","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@01edu/api-client","version":"0.1.2","license":"MIT","_id":"@01edu/api-client@0.1.2","maintainers":[{"name":"kigiri","email":"le.mikmac@gmail.com"}],"homepage":"https://github.com/01-edu/framework#readme","bugs":{"url":"https://github.com/01-edu/framework/issues"},"dist":{"shasum":"7501ff265c6bf0363ed4e383cbd9aa677a8b50e2","tarball":"https://registry.npmjs.org/@01edu/api-client/-/api-client-0.1.2.tgz","fileCount":7,"integrity":"sha512-04EA4mMjRtvZB8YILWei7GBXWKUEeTpxl6jEM0alsrRe3WtElLmwVvndp62HJMVN7C6K7K0HkFsS9PzJADyLuA==","signatures":[{"sig":"MEUCIQC2P1AMK2HmZL9VvLtLhxQNZy2QvDp+RRphIMhiE2WEnQIgA/bz6HYWNmM7eZBtOUeAb4N/Ujds4YosclP8BmEKmTM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@01edu%2fapi-client@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16427},"module":"./esm/api-client/mod.js","exports":{".":{"import":"./esm/api-client/mod.js"}},"gitHead":"081d8cee3d11e7a627b4346663e90ab83518e6bd","scripts":{"test":"node test_runner.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:12265e2e-5215-4b8b-931a-69f3c33b16dd"}},"repository":{"url":"git+https://github.com/01-edu/framework.git","type":"git"},"_npmVersion":"11.6.2","description":"Type-safe HTTP API Client","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","dependencies":{},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"picocolors":"^1.0.0"},"peerDependencies":{"@preact/signals":"^2.5.1"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.1.2_1764340394362_0.12350064544328543","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@01edu/api-client","version":"0.1.3","license":"MIT","_id":"@01edu/api-client@0.1.3","maintainers":[{"name":"kigiri","email":"le.mikmac@gmail.com"}],"homepage":"https://github.com/01-edu/framework#readme","bugs":{"url":"https://github.com/01-edu/framework/issues"},"dist":{"shasum":"88f5fdfa30740620b5e63843ac9c93f0b0d3402a","tarball":"https://registry.npmjs.org/@01edu/api-client/-/api-client-0.1.3.tgz","fileCount":7,"integrity":"sha512-qW/WXtvwj524pN0xY82epi0nVAUKrpLVHTwxV1zKfWuphvJJIeNrMrERmZodR9a39oOWS9XXJzU+o1FFk+3wDA==","signatures":[{"sig":"MEUCIQCMNtq7XT6Fm6iRmHec13qMu6poageo+nCsx5rW/yYmOQIgf0HeNEaj5Ra6Y6xcOINKj5t0YXn/KzCjguOVEmWtBrM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@01edu%2fapi-client@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16405},"module":"./esm/mod.js","exports":{".":{"import":"./esm/mod.js"}},"gitHead":"b1124e3ea7d1d125f28a9c49f238d637ff9f690f","scripts":{"test":"node test_runner.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:12265e2e-5215-4b8b-931a-69f3c33b16dd"}},"repository":{"url":"git+https://github.com/01-edu/framework.git","type":"git"},"_npmVersion":"11.6.2","description":"Type-safe HTTP API Client","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","dependencies":{},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"picocolors":"^1.0.0"},"peerDependencies":{"@preact/signals":"^2.5.1"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.1.3_1764346994176_0.2618758662557281","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@01edu/api-client","version":"0.1.5","license":"MIT","_id":"@01edu/api-client@0.1.5","maintainers":[{"name":"kigiri","email":"le.mikmac@gmail.com"}],"homepage":"https://github.com/01-edu/framework#readme","bugs":{"url":"https://github.com/01-edu/framework/issues"},"dist":{"shasum":"c5cef2efcda3e1845cfd76bd17a84804d2868e02","tarball":"https://registry.npmjs.org/@01edu/api-client/-/api-client-0.1.5.tgz","fileCount":7,"integrity":"sha512-cT6bJSAsKX1FsZ6A+vjiKUN+rTYpEj+h/k5eHEK3evgWoFM5GRL5CEDLbFHBL2JYWSjluGsPzLg3Cuqhe+487A==","signatures":[{"sig":"MEQCIAMX41b6D+pdgT8/k0sXNxuciajlInt97HXVESGsDqbdAiBsLKWumFKlnV+RlIANQTNKYF/bBubiA6PjOrtOc+1/3w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@01edu%2fapi-client@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17514},"module":"./esm/mod.js","exports":{".":{"import":"./esm/mod.js"}},"gitHead":"152516d0a2ed7e7684b608082583dbda83306a83","scripts":{"test":"node test_runner.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:12265e2e-5215-4b8b-931a-69f3c33b16dd"}},"repository":{"url":"git+https://github.com/01-edu/framework.git","type":"git"},"_npmVersion":"11.6.2","description":"Type-safe HTTP API Client","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","dependencies":{},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"picocolors":"^1.0.0"},"peerDependencies":{"@preact/signals":"^2.5.1"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.1.5_1768231532897_0.07470807098650889","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@01edu/api-client","version":"0.1.7","license":"MIT","_id":"@01edu/api-client@0.1.7","maintainers":[{"name":"kigiri","email":"le.mikmac@gmail.com"}],"homepage":"https://github.com/01-edu/framework#readme","bugs":{"url":"https://github.com/01-edu/framework/issues"},"dist":{"shasum":"a45ebfa11aa865587b1ccb1eca0ccdfd18a30cfa","tarball":"https://registry.npmjs.org/@01edu/api-client/-/api-client-0.1.7.tgz","fileCount":7,"integrity":"sha512-4Ngu4ZIQwvumwP9NGCZNLpn1qlbPfAlUoWccgd8F68iZBx6H7Fx9wZ0Tyf8iVrfFwk9VABtD4TR0oxyYQfYsOQ==","signatures":[{"sig":"MEYCIQDMipUmHPslwfx9vZ15io9fD+XOPDoZW8kbmFwd5Vt69wIhAJu/MlsgFowlciw3BLbBa2UXgbBpUgcWPAAr7o00W2nf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@01edu%2fapi-client@0.1.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17518},"module":"./esm/mod.js","exports":{".":{"import":"./esm/mod.js"}},"gitHead":"42126830f6f0184b5bd8b0d1c0f4f5b712c85347","scripts":{"test":"node test_runner.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:12265e2e-5215-4b8b-931a-69f3c33b16dd"}},"repository":{"url":"git+https://github.com/01-edu/framework.git","type":"git"},"_npmVersion":"11.6.2","description":"Type-safe HTTP API Client","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"picocolors":"^1.0.0"},"peerDependencies":{"@preact/signals":"^2.5.1"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.1.7_1770908068920_0.3474437303349258","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@01edu/api-client","version":"0.2.1","license":"MIT","_id":"@01edu/api-client@0.2.1","maintainers":[{"name":"01edu_ai","email":"sysadmin@01edu.ai"},{"name":"kigiri","email":"le.mikmac@gmail.com"}],"homepage":"https://github.com/01-edu/framework#readme","bugs":{"url":"https://github.com/01-edu/framework/issues"},"dist":{"shasum":"046e05f6a899edced872d20b76065e13f36f5531","tarball":"https://registry.npmjs.org/@01edu/api-client/-/api-client-0.2.1.tgz","fileCount":7,"integrity":"sha512-3bwC80f421igzLSAOifsQWzE0LVki1GQC41FbJvymtuqfIxaNe7VU/9+Av8L5iQhWcpL4tcs9yOfCR4RWZoCdQ==","signatures":[{"sig":"MEQCIFVPc7eKFJNqzRaMskkiuIYOZ2+PExCIKBFOToroZRSGAiA82ThYVzpf9dxk17Qz7zikxoqls+TFJN/3S5zaIrZZ/g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@01edu%2fapi-client@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17518},"module":"./esm/mod.js","exports":{".":{"import":"./esm/mod.js"}},"gitHead":"295f23a0467c73357735628b5569b27e96aa6b14","scripts":{"test":"node test_runner.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:12265e2e-5215-4b8b-931a-69f3c33b16dd"}},"repository":{"url":"git+https://github.com/01-edu/framework.git","type":"git"},"_npmVersion":"11.9.0","description":"Type-safe HTTP API Client","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"picocolors":"^1.0.0"},"peerDependencies":{"@preact/signals":"^2.9.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.2.1_1775054811351_0.9725749499010317","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@01edu/api-client","version":"0.2.2","license":"MIT","_id":"@01edu/api-client@0.2.2","maintainers":[{"name":"01edu_ai","email":"sysadmin@01edu.ai"},{"name":"kigiri","email":"le.mikmac@gmail.com"}],"homepage":"https://github.com/01-edu/framework#readme","bugs":{"url":"https://github.com/01-edu/framework/issues"},"dist":{"shasum":"3909685dfaf60862e8dd36b4dfc7b618bd94eb72","tarball":"https://registry.npmjs.org/@01edu/api-client/-/api-client-0.2.2.tgz","fileCount":7,"integrity":"sha512-o+61bkPbE/CSRZeDZinneceZ+36uFf6bveTqqtn6XYoXjFCKZtJsvd2y0GcZgcwEGaOBu8g44tznH0TMsg5F3A==","signatures":[{"sig":"MEYCIQCvtoa1qUzNzwGIL+RwO22ybHaEUV7ehsQSppDfGHFhRAIhAL+bA7TMkC6vit2xM/7WUWZ0i6RRLgf8dvYDOPKrOJ6I","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@01edu%2fapi-client@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17518},"module":"./esm/mod.js","exports":{".":{"import":"./esm/mod.js"}},"gitHead":"3bdcee94d98e94d8080ab243c47e40fafd75c338","scripts":{"test":"node test_runner.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:12265e2e-5215-4b8b-931a-69f3c33b16dd"}},"repository":{"url":"git+https://github.com/01-edu/framework.git","type":"git"},"_npmVersion":"11.9.0","description":"Type-safe HTTP API Client","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"picocolors":"^1.0.0"},"peerDependencies":{"@preact/signals":"^2.9.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.2.2_1775087419447_0.4400107087596392","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@01edu/api-client","version":"0.2.3","license":"MIT","_id":"@01edu/api-client@0.2.3","maintainers":[{"name":"01edu_ai","email":"sysadmin@01edu.ai"},{"name":"kigiri","email":"le.mikmac@gmail.com"}],"homepage":"https://github.com/01-edu/framework#readme","bugs":{"url":"https://github.com/01-edu/framework/issues"},"dist":{"shasum":"a4e933aa5bab095e1815e53e6f68b667f18fcf84","tarball":"https://registry.npmjs.org/@01edu/api-client/-/api-client-0.2.3.tgz","fileCount":7,"integrity":"sha512-EVFcBlikZQdinq80oEnapiQo+X7WklS4vuhYQjiWpF5bFje9wYSNF4MeT14PR3NhrCuwsWWjPvHXxP7lX0K/rA==","signatures":[{"sig":"MEQCIHpQ+PgLQpBdt+AAQ4CQRoRHSnrMNwv1LBOwNTHXnvglAiBaCwoJzZI5Xwj80Cc+9grfuwsQO+/suzvifk9stSrMEw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@01edu%2fapi-client@0.2.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17518},"module":"./esm/mod.js","exports":{".":{"import":"./esm/mod.js"}},"gitHead":"1814e7b5961f43c6f6df54debd0d6465b5ef77b2","scripts":{"test":"node test_runner.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:12265e2e-5215-4b8b-931a-69f3c33b16dd"}},"repository":{"url":"git+https://github.com/01-edu/framework.git","type":"git"},"_npmVersion":"11.11.0","description":"Type-safe HTTP API Client","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","dependencies":{},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"picocolors":"^1.0.0"},"peerDependencies":{"@preact/signals":"^2.9.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.2.3_1775158615991_0.4788678778052855","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@01edu/api-client","version":"0.2.5","license":"MIT","_id":"@01edu/api-client@0.2.5","maintainers":[{"name":"01edu_ai","email":"sysadmin@01edu.ai"},{"name":"kigiri","email":"le.mikmac@gmail.com"}],"homepage":"https://github.com/01-edu/framework#readme","bugs":{"url":"https://github.com/01-edu/framework/issues"},"dist":{"shasum":"eedfc7af3952a856c0fa2ed55d02e751f02ab98b","tarball":"https://registry.npmjs.org/@01edu/api-client/-/api-client-0.2.5.tgz","fileCount":7,"integrity":"sha512-XVv2Cw9j8rgx9JRrDEKdtI+yM/Hmh49ME1jcp8J4LxFjg0eZzZvl4mkdd/GI18vi1WC+QbBJRApvmr1o4GAPlg==","signatures":[{"sig":"MEQCIAQq4gCgNovynCLu0YIuged+8bTduKwC94yp65mIICiiAiAx+M8phnzyfvlN08yNeCEHR4e7w9DDGs5jK7y3xlVQGQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@01edu%2fapi-client@0.2.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17518},"module":"./esm/mod.js","exports":{".":{"import":"./esm/mod.js"}},"gitHead":"ab216782f56028a0ac26d3f7c273ab785865e5b4","scripts":{"test":"node test_runner.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:12265e2e-5215-4b8b-931a-69f3c33b16dd"}},"repository":{"url":"git+https://github.com/01-edu/framework.git","type":"git"},"_npmVersion":"11.11.0","description":"Type-safe HTTP API Client","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","dependencies":{},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"picocolors":"^1.0.0"},"peerDependencies":{"@preact/signals":"^2.9.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.2.5_1777974393426_0.9490762293147972","host":"s3://npm-registry-packages-npm-production"}},"0.2.6":{"name":"@01edu/api-client","version":"0.2.6","description":"Type-safe HTTP API Client","repository":{"type":"git","url":"git+https://github.com/01-edu/framework.git"},"license":"MIT","bugs":{"url":"https://github.com/01-edu/framework/issues"},"module":"./esm/mod.js","exports":{".":{"import":"./esm/mod.js"}},"scripts":{"test":"node test_runner.js"},"sideEffects":false,"publishConfig":{"access":"public","provenance":true,"registry":"https://registry.npmjs.org/"},"dependencies":{},"devDependencies":{"picocolors":"^1.0.0"},"peerDependencies":{"@preact/signals":"^2.9.0"},"gitHead":"254958d2d3d9c137756efb14b785b4a1b917fa49","_id":"@01edu/api-client@0.2.6","homepage":"https://github.com/01-edu/framework#readme","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-uiDUrVgfmnQ1J1gX8epYCXpMeSTQ7zTWpJkOv08vtKKaH0bi3uiEjRvbBE0pcDHSzkBrFYRm04mSivC9v2JFew==","shasum":"d6d46c99902f00b6854647ea55d3873291fa3372","tarball":"https://registry.npmjs.org/@01edu/api-client/-/api-client-0.2.6.tgz","fileCount":7,"unpackedSize":17518,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@01edu%2fapi-client@0.2.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIE4kgSbm/FkTHbdpooyTyq39nMKMn8dnmRqEh/LGOKWWAiEAk5J6mHYwb5Fsdg98einDDdaLAGFTfAUl0qzI9IF0i+U="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:12265e2e-5215-4b8b-931a-69f3c33b16dd"}},"directories":{},"maintainers":[{"name":"01edu_ai","email":"sysadmin@01edu.ai"},{"name":"kigiri","email":"le.mikmac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/api-client_0.2.6_1777975488399_0.38305834780960013"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-27T22:58:55.509Z","modified":"2026-05-05T10:04:48.824Z","0.1.1":"2025-11-27T22:58:55.769Z","0.1.2":"2025-11-28T14:33:14.559Z","0.1.3":"2025-11-28T16:23:14.366Z","0.1.5":"2026-01-12T15:25:33.135Z","0.1.7":"2026-02-12T14:54:29.053Z","0.2.1":"2026-04-01T14:46:51.488Z","0.2.2":"2026-04-01T23:50:19.606Z","0.2.3":"2026-04-02T19:36:56.130Z","0.2.5":"2026-05-05T09:46:33.586Z","0.2.6":"2026-05-05T10:04:48.557Z"},"bugs":{"url":"https://github.com/01-edu/framework/issues"},"license":"MIT","homepage":"https://github.com/01-edu/framework#readme","repository":{"type":"git","url":"git+https://github.com/01-edu/framework.git"},"description":"Type-safe HTTP API Client","maintainers":[{"name":"01edu_ai","email":"sysadmin@01edu.ai"},{"name":"kigiri","email":"le.mikmac@gmail.com"}],"readme":"# api-client\n\nTiny, type-safe HTTP API client meant to be used alongside the `@01edu/api`\nrouter (see [`@01edu/api/router`](https://jsr.io/@01edu/api/doc/router)). It\nbuilds a strongly-typed client from your server route definitions.\n\n## Install\n\n- `deno add jsr:@01edu/api-client`\n\n## How it fits\n\n- Define routes on the server with @01edu/api/router and export their type.\n- Use that type on the client with `createClient` for end-to-end typing.\n\n## Server (types export)\n\n```ts\nimport { route } from '@01edu/api/router'\nimport { STR } from '@01edu/api/validator'\n\nexport const routes = {\n  'GET/hello': route({\n    input: { name: STR() },\n    output: { message: STR() },\n    fn: (_, { name }) => ({ message: `Hello, ${name}!` }),\n  }),\n}\n\nexport type RoutesDefinitions = typeof routes\n```\n\n## Client\n\n```ts\nimport { createClient } from '@01edu/api-client'\nimport type { RoutesDefinitions } from '/api/routes.ts' // types-only import from your backend\n\nconst api = createClient<RoutesDefinitions>('/api')\n\n// One-shot call\nconst res = await api['GET/hello'].fetch({ name: 'Ada' })\n\n// Reactive usage\nconst hello = api['GET/hello'].signal()\nhello.fetch({ name: 'Ada' })\nhello.$.subscribe((v) => console.log(v.pending, v.data, v.error))\n```\n","readmeFilename":"README.md"}