ezs-booster
booster statements form EZS
Last updated 2 years ago by touv .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ezs-booster 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.0                                ...           latest (2 years ago)

2 Versions

  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (11)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |