Skip to content

matjs/mat-rap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mat-rap

npm version

Installation

npm install --save-dev mat-rap

Usage

var mat = require('mat')
var rap = require('mat-rap')

mat.task('default', function () {
  mat.use(rap({
    projectId: '123',
    ext: ['.json', '.do']
  }))
})
mat default

Options

  • projectId

    type: number

    Rap平台对应建立的项目id

  • ext

    type: array

    调用的数据接口的后缀名,默认为['.json']

About

获取rap模拟数据的mat插件

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published