catbox-fake

2.0.3 • Public • Published

Catbox Fake

Fake catbox is a mock engine used to test catbox-fallback. It can be used to test other things.

Lead maintainer: Simon Lévesque

Current version: Current Version Build Status

Options

  • trojan: function(methods) - A function that will be called on client initialization. This methods receives as first argument an object containing client's special methods. The object has these properties:
    • throw: function(enable) - tells the engine to always throw an error
      • enable - A boolean to enable or not this feature
    • ready: function(enable) - tells the engine to say if it is ready or not
      • enable - A boolean for the ready status
    • delay: function(value) - tells the engine to wait a while before returning
      • value - A number for milliseconds

Readme

Keywords

Package Sidebar

Install

npm i catbox-fake

Weekly Downloads

16

Version

2.0.3

License

MIT

Unpacked Size

12.8 kB

Total Files

6

Last publish

Collaborators

  • edouarddemotes
  • dt-tractr