mof-cookie

1.0.2 • Public • Published

mof-cookie

mof-cookie is a middleware of floodesh, which will fetch a random cookie from a web-service.

Install

npm install mof-cookie

Usage

const cookie = require('mof-cookie');
const Worker = require('floodesh/worker');
 
const worker = new Worker();
 
worker.use(co.wrap(cookie(worker.config.service)));

Package Sidebar

Install

npm i mof-cookie

Weekly Downloads

2

Version

1.0.2

License

ISC

Unpacked Size

2.21 kB

Total Files

5

Last publish

Collaborators

  • mike442144