Tools/breejs/bree

bree

No description available.

3.3k+1/wkemergingJavaScriptMITtrending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Mar 2026

Node.js has no built-in way to run scheduled jobs without tying up the event loop. Bree handles that with worker threads so your main process doesn't block. Basically, it's cron for your Node.js app, but each job runs in its own thread and can't crash your server.

MIT license, JavaScript. Each job runs in a Node.js worker thread with its own memory space. If a job crashes, your app keeps running. Supports cron expressions, intervals, one-time runs, and human-readable schedules ("every 5 minutes"). Built-in concurrency control. Prevent the same job from running twice.

Fully free. It's a library. No paid tier, no hosted version. Setup is simple: install the package, define your jobs as separate files, configure the schedule. The worker thread approach means jobs are truly isolated. A memory leak in one job doesn't affect your app.

Solo projects and small apps: Bree is a clean solution when you need background jobs without adding Redis or a separate queue system. The catch: Bree runs in-process, which means if your server restarts, scheduled jobs reset. There's no persistence layer. Missed jobs don't retry automatically. For durable job processing that survives restarts, you need BullMQ (backed by Redis) or Temporal. Bree is best for periodic tasks where missing one run isn't catastrophic.

Free vs Self-Hosted vs Paid

fully free

Fully open source under MIT. A Node.js library with no service component. Free at any scale.

Free. An npm package, not a service.

What to do by team size

Solo
free — simple background jobs without infrastructure
Small team
free — great for periodic tasks
Medium team
evaluate whether you need persistence (BullMQ/Redis)
Large team
likely need durable job processing (Temporal, BullMQ)
Self-hosting ops:trivial

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Similar Tools

Score
55/100 · C+
Adoption16/30
Maintenance5/25
Community9/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

Growing adoption: 3,286 starsPermissive license (MIT)

About

Owner
breejs (Organization)
Stars
3,294
Forks
89

Also by breejs

Explore Further

More tools in the directory