Now in production

The Framework for
Modern Node.js

Build production-ready applications with zero configuration.
Built-in caching, 9 database adapters, enterprise features.

1.0.0 This release has passed all stability tests in production environments
Latest Release
9
DB Adapters
0
Dependencies
import { build } from 'triva';

// Zero configuration needed
const app = new build({
  cache: {
    type: 'redis',
    database: { host: 'localhost' }
  }
});

// Define your routes
app.get('/', (req, res) => {
  res.json({ hello: 'world' });
});

// Start your server
app.listen(3000);

Everything you need. Built-in.

Stop piecing together packages. Start building.

Zero Dependencies

Pure Node.js with no external dependencies. Fast, secure, and maintainable from day one.

Universal Cache API

One API, nine adapters. Switch from Redis to MongoDB without changing a line of code.

Built-in Middleware

Rate limiting, logging, error tracking, and auto-redirects included by default.

Type Safe

Full TypeScript support with intelligent type inference. Get autocompletion everywhere.

Production Ready

Battle-tested monitoring, error tracking, and performance features built-in.

Great DX

Intuitive API, excellent documentation, and helpful error messages that actually help.

Our team & our community are constantly shipping new features, prioritizing enterprise enhancing infrastructure.
If your orginization is seeking specific features for your enterprise operations, please submit a ticket via our GitHub Issues

One API. Nine Adapters.

Change your database backend without changing your application code.

import { build } from 'triva';

const app = new build({
  cache: {
    type: 'redis',
    database: {
      host: 'localhost',
      port: 6379
    }
  }
});

Redis

  • Sub-millisecond latency
  • Distributed caching
  • Production-grade reliability
Learn more
New database adapters are released regularly as apart of content updates. Keep up with our available adapters via docs.trivajs.com
Learn how to configure a database adapter into your operations with a short few steps here

Ready to build?

Join developers shipping production applications with Triva.