0.0.29 • Published 7 years ago

apischema v0.0.29

Weekly downloads
98
License
MIT
Repository
github
Last release
7 years ago

apischema

Useage

export const getCategorys = schema.get('/api/getcategorys/{page}', {
  page: { type: Number, required: true, urlOnly: true },
  type: { type: Number, required: true },
});

getCategorys({
  page: 1,
  type: 1
}, {
  headers: {
    'X-Access-Token': 'djdjxjqi111',
  },
}).then((json) => {
  log(json);  
});

Dev

$ npm i
$ npm test
$ npm run dist
0.0.29

7 years ago

0.0.28

8 years ago

0.0.27

8 years ago

0.0.26

8 years ago

0.0.25

8 years ago

0.0.24

8 years ago

0.0.23

8 years ago

0.0.22

8 years ago

0.0.21

8 years ago

0.0.20

8 years ago

0.0.19

8 years ago

0.0.18

8 years ago

0.0.17

8 years ago

0.0.16

8 years ago

0.0.15

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago