Skip to content

matjs/mat-delay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mat-delay

npm version

Installation

npm install --save-dev mat-delay

Usage

var mat   = require('mat');
var delay = require('mat-delay');

mat.task('default', function () {
  mat.use(delay({
    delay: 1
  }));
})
mat default

Options

  • delay

    请求需要delay的秒数,单位秒

About

模拟数据延迟的mat插件

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published