api-provider-express
TypeScript icon, indicating that this package has built-in type declarations

3.1.1 • Public • Published

api-provider-express

API provider for building api-core based APIs consumable via HTTP using the Express framework.

Installation

npm install api-provider-express

Usage

const express = require('express'),
      ExpressApiRouter  = require('api-provider-express').ExpressApiRouter;

const API = new Api(...);

const app = express(),
      router = new ExpressApiRouter(API);
      
router.apply(app);
app.listen(8080);

Readme

Keywords

Package Sidebar

Install

npm i api-provider-express

Weekly Downloads

122

Version

3.1.1

License

MIT

Unpacked Size

118 kB

Total Files

25

Last publish

Collaborators

  • ajuhos
  • lsc-deploy