@manta-style/plugin-mock-iterate
0.2.0-alpha.4 • Public • Published
@manta-style/plugin-mock-iterate
Installation
$ yarn add @manta-style/plugin-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.
Readme
Keywords
nonePackage Sidebar
Install
npm i @manta-style/plugin-mock-iterate
Weekly Downloads