Stric

Stric

A web framework focused on performance and scalability.

import { routes } from '@stricjs/app';
import { text, json } from '@stricjs/app/send';

// Each route file exports a routes store
export default routes()
    .get('/', () => text('Hi'))
    .post('/json', c => c.req.json().then(json));

Stric is one of the fastest Bun HTTP framework. See benchmark for more details.

License

This license applied to the whole project, see LICENSE.md.

Pinned Loading

  1. Build high-performance and scalable web apps

    TypeScript 56 5

  2. Benchmarking HTTP frameworks

    TypeScript 28 5

  3. Utilities for parsing and handling requests

    TypeScript 20

  4. A cluster implementation

    TypeScript 7 1

  5. Stric examples

    TypeScript 4 1

  6. Stric documentation

    TypeScript 2 1

Repositories

Showing 8 of 8 repositories

  • app Public

    Build high-performance and scalable web apps

    bunsvr/app’s past year of commit activity

    TypeScript

    56 5 0 1

    Updated Jun 16, 2024

  • bunsvr/examples’s past year of commit activity

    TypeScript

    4 1 0 0

    Updated Jan 31, 2024

  • docs Public

    Stric documentation

    bunsvr/docs’s past year of commit activity

    TypeScript

    2 1 0 0

    Updated Jan 25, 2024

  • utils Public

    Utilities for parsing and handling requests

    bunsvr/utils’s past year of commit activity

    TypeScript

    20

    0

    0 0

    Updated Jan 19, 2024

  • benchmark Public

    Benchmarking HTTP frameworks

    bunsvr/benchmark’s past year of commit activity

    TypeScript

    28 5 0 0

    Updated Jan 16, 2024

  • bunsvr/.github’s past year of commit activity

    0 0

    0 0

    Updated Dec 31, 2023

  • cluster Public

    A cluster implementation

    bunsvr/cluster’s past year of commit activity

    TypeScript

    7 1 0 0

    Updated Dec 15, 2023

  • router Public archive

    A blazing-fast router for Stric

    bunsvr/router’s past year of commit activity

    TypeScript

    52 2 0 0

    Updated Oct 29, 2023