
Security News
Deno 2.4 Brings Back deno bundle, Improves Dependency Management and Observability
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
A simple job management library consisting of the Cloudflare stack.
See documentation at kiribi.pages.dev.
npm install kiribi
$ npx wrangler d1 create kiribi-db
$ npx wrangler queues create kiribi-queue
// src/index.ts
import { Kiribi } from 'kiribi'
import { client } from 'kiribi/client'
import { rest } from 'kiribi/rest'
export default class extends Kiribi {
client = client
rest = rest
}
import { KiribiPerformer } from 'kiribi/performer'
export class MyPerformer extends KiribiPerformer {
async perform(payload) {
console.log('preform', payload)
}
}
# wrangler.toml
name = "my-kiribi"
compatibility_date = "2024-04-03"
main = "src/index.ts"
[[d1_databases]]
binding = "KIRIBI_DB"
database_name = "kiribi-db"
database_id = "xxxxxxxxxxxxx"
migrations_dir = './node_modules/kiribi/migrations'
[[queues.producers]]
binding = "KIRIBI_QUEUE"
queue = "kiribi-queue"
[[queues.consumers]]
queue = "kiribi-queue"
max_retries = 5
[[services]]
binding = "KIRIBI"
service = "my-kiribi"
[site]
bucket = "./node_modules/kiribi/client"
[[services]]
binding = "MY_JOB"
service = "my-kiribi"
entrypoint = "MyPerformer"
npx wrangler d1 migrations apply kiribi-db --remote
npx wrangler deploy
# wrangler.toml
name = "enqueuer"
compatibility_date = "2024-04-03"
main = "src/index.ts"
[[services]]
binding = "KIRIBI"
service = "my-kiribi"
// src/index.ts
import { Kiribi } from 'kiribi'
interface Env {
KIRIBI: Service<Kiribi>
}
export default {
async fetch(req: Request, env: Env, ctx: ExecutionContext) {
await env.KIRIBI.enqueue('MY_JOB', { key: 'value' }, { maxRetries: 5 })
return new Response('OK')
}
}
See development.md.
See LICENSE.
FAQs
A simple job management library consisting of the Cloudflare stack.
The npm package kiribi receives a total of 25 weekly downloads. As such, kiribi popularity was classified as not popular.
We found that kiribi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.