@manta-style/plugin-mock-example

Manta Style Mock Plugin - Example

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
3933May 25, 2021Jul 10, 2018Minified + gzip package size for @manta-style/plugin-mock-example in KB

Readme

@manta-style/plugin-mock-example

Installation

$ yarn add @manta-style/plugin-mock-example

Usage

/**
 * @example tanhauhau
 * @example cryrivers
 * @example jennieji
 */
userName: string;
/**
 * @example 5
 * @example 10
 * @precision 1
 */
score: number;
  • Will generate data based on example, muliple examples will be chosen randomly.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.