New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

redink-middleware-read

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redink-middleware-read

Redink read middleware

0.1.1
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

redink-middleware-read

Redink Read Middleware

CircleCI codecov

Installation

Install redink-server and redink Then:

$ npm install --save redink-middleware-read

Overview

Import and define middleware array

Import redink-middleware-read and make a middleware array to pass to redink-server.

import read from 'redink-middleware-read';
import Server from 'redink-server';

const writeMiddleware = = [...];
const readMiddleware = [..., read, ...];
const authenticateMiddleware = [...];

const server = new Server(writeMiddleware, readMiddleware, authenticateMiddleware);
const db = redink();

server.listen(5000).then(message => {
  console.log(message); //'Server started on port 5000.'
});

Keywords

Redink

FAQs

Package last updated on 08 Aug 2016

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