@manta-style/mock-iterate
v0.2.0-alpha.24
Published
Manta Style Mock Plugin - Iterate
Downloads
2
Readme
@manta-style/mock-iterate
Installation
$ npm install --save-dev @manta-style/mock-iterate
Usage
/**
*
* @iterate 'Happy'
* @iterate 'Birthday'
* @iterate 'To'
* @iterate 'You'
*
*/
message: string;
- Every call will generate the next message
- First call will return
'Happy'
, then'Birthday'
, then'To'
, then'Yout'
, then back to'Happy'
again.