ezs-booster

1.1.0 • Public • Published

Boosterfor EZS plugin

This package cannot be used alone. EZS has to be installed.

Example

#!/usr/bin/env ezs

[use]
plugin = booster

[booster]
file = ./script.ini

Installation

$ git clone https://github.com/touv/node-booster.git
$ cd node-booster
$ npm install -g ezs
$ npm install
$ npm link
$ npm run build 
$ echo "booster do something !" | ./examples/booster.ezs

Statements

Table of Contents

booster

Takes an Object delegate processing to an external pipeline and cache the result

Parameters

  • data
  • feed
  • file String? the external pipeline is descrbied in a file
  • script String? the external pipeline is descrbied in a sting of characters
  • commands String? the external pipeline is descrbied in object
  • key String? the cache key identifier form the stream, in not provided, the key is computed with the first chunk
  • hitsByCheck Number Number of hits to verify the cache (optional, default 1000)
  • maxFiles Number Number of hits to verify the cache (optional, default 100)
  • maxTotalSize Number Size (bytes) maximun of the cash (1 G) (optional, default 1000000000)
  • cleanupDelay Number Frequency (milliseconds) to cleanup the cahe (10 min) (optional, default 600000)

Returns Object

Readme

Keywords

Package Sidebar

Install

npm i ezs-booster

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

28.8 kB

Total Files

11

Last publish

Collaborators

  • touv