Socket
Socket
Sign inDemoInstall

@radpack/server

Package Overview
Dependencies
41
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @radpack/server

Rapid Application Development Packaging Server Runtime


Version published
Maintainers
3
Created

Readme

Source

@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`);
});

FAQs

Last updated on 22 Aug 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc