open-index/open-npm huggingface dataset:
npm package: @stricjs/app
Description: Build high-performance, scalable web apps with Bun
Latest version: 1.0.0-rc.34

# `@stricjs/app`
Build high-performance and scalable web apps. 

This library only works with the [Bun](//bun.sh) runtime.

## Install
```bash
bun add @stricjs/app @stricjs/utils
```

## Usage
See the Stric documentation [here](//stricjs.netlify.app/docs/app).
npm package: @stricjs/cluster
Description: A cluster implementation for Bun
Latest version: 2.0.0

# `@stricjs/cluster`
A cluster implementation for Bun.

## Install
```bash
bun i @stricjs/cluster
```

## Usage
```ts
import { worker, spawn } from '@stricjs/cluster';

// If current module is a worker
if (worker) Bun.serve({
    fetch: () => new Response('Hi'),
    // Must use this
    reusePort: true
});

// Spawn a number of threads equivalent to available hardware concurrency
else spawn();
```
npm package: @stricjs/core
Description: Core server of StricJS, which aims to be fast
Latest version: 1.1.3

The core server of [StricJS](https://github.com/bunsvr) which aims to be fast.

```typescript
import { App } from "@stricjs/core";

// Create a new app
export default new App()
    // Add a middleware
    .use(() => new Response("Hello world!"));
```

See more examples [here](/examples).