1.1.3 • Published 2 years ago

@radpack/server v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@radpack/server

The server-side runtime package. This is automatically imported into applications built using @radpack/webpack-plugin and targeting node. For client-side usage, use @radpack/client.

Documentation Logo

Installation

npm install @radpack/server

Usage

import radpack from '@radpack/server';

For express-like web applications wanting to locally link radpack libraries for testing, use the middleware and register the proxy route (example app):

import express from 'express';
import radpack from '@radpack/server';
import Middleware from '@radpack/server/middleware';

const app = express();

app.use(new Middleware());

app.listen(3000, () => {
  radpack.register(`http://localhost:3000/radpack`);
});
1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago