mof-cookie

cookie obtain middleware for floodesh

Usage no npm install needed!

<script type="module">
  import mofCookie from 'https://cdn.skypack.dev/mof-cookie';
</script>

README

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)));