Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@studiohyperdrive/express-status

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@studiohyperdrive/express-status

Express status-page solution used at Studio Hyperdrive

  • 2.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Express Status

Express status-page solution used at Studio Hyperdrive

Table of contents

  • Getting Started
  • Usage

Getting Started

Install the package

# NPM
npm install --save @studiohyperdrive/express-status

# Yarn
yarn add --save @studiohyperdrive/express-status

Usage

import { ExpressStatusRouter } from '@studiohyperdrive/express-status';

...
// Exposes '/status' in the router.
app.use(ExpressStatusRouter);
ExpressStatusRouter

An Express Router that exposes GET /status.

Usage:

import { ExpressStatusRouter } from '@studiohyperdrive/express-status';

...

app.use(ExpressStatusRouter);
ExpressStatusController

The controller that takes care of handling the route callback. Using the controller gives you the flexibility of adding your own endpoint.

Usage:

import { ExpressStatusController } from '@studiohyperdrive/express-status';

...

const expressStatusController = new ExpressStatusController();

router.route('/status').get(expressStatusController.get);

Keywords

FAQs

Package last updated on 24 Sep 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc