0.2.0 • Published 9 years ago

doxie-dummy v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

Coveralls – test coverage
Travis – build status
David – status of dependencies
Stability: unstable
Code style: airbnb

doxie-dummy

A tiny utility for testing doxie plugins.

Installation

$ npm install doxie-dummy

Usage

const dummy = require('doxie-dummy');
const dummyData = require('doxie-dummy/data');
const dummyOutput = require('doxie-dummy/output');

 

Parameters:

  • docs
    type: Object[]
    An array of docs. Each should match the signature {[data], [output]}.

Return value:

  • doxieData
    type: Object
    A doxie-compatible object. It can be piped into a plugin.

 

Parameters:

  • data
    type: []
    An array of docs’ data – for example, coming from
    dox*.

Return value:

  • doxieData
    type: Object
    A doxie-compatible object. It can be piped into a plugin.

 

Parameters:

  • outputs
    type: String[]
    An array of docs’ output – for example, coming from doxie --render.

Return value:

  • doxieData
    type: Object
    A doxie-compatible object. It can be piped into a plugin.

License

MIT © Studio B12 GmbH

0.2.0

9 years ago