@wize/rest-source

1.0.3 • Public • Published

##REST SOURCE @wize/rest-source

##Description

Create source files for rest objects

##Usage

###Installation

npm install --save @wize/rest-source

###Initialize

import {generateRestSource} from '@wize/rest-source'
.
.
.
/*
data: This is the only parameter which have to pass generateRestSource function.
data:{
    url:"",
    method: "",
    name:"",
    model:"",
    options:{
        params:{},
        headers:{}
    }
}
*/
generateRestSource(data);

##Test

npm run test

##License MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i @wize/rest-source

Weekly Downloads

4

Version

1.0.3

License

MIT

Last publish

Collaborators

  • praveennegi
  • at1nder
  • harishtejwani