6.0.0 • Published 2 months ago
@agreed/client v6.0.0
agreed-client
An agreed client for check response.
Install
$ npm install agreed-client -D
Usage
const agreedClient = require('agreed-client')
const {
client,
agrees,
reporter,
} = agreedClient({
path: './test/agreed.json5', // required
scheme: 'http', // optional, default is http
host: 'localhost', // optional, default is localhost
port: 30103, // optional, default is 80
defaultRequestHeaders: {
'x-jwt-token': 'foobarbaz'
}
})
client.requestPromise(agrees)
.then(reporter)
.catch((e) => {
console.error(e)
process.exit(1)
})
6.0.0
2 months ago
5.3.1
2 years ago
5.3.2-alpha.0
2 years ago
5.3.0
2 years ago
5.2.1
3 years ago
5.2.0
3 years ago
5.1.10
4 years ago
5.1.9
4 years ago
5.1.8
4 years ago
5.1.7
4 years ago
5.1.6
4 years ago
5.1.5
4 years ago
5.1.4
4 years ago
5.1.3
4 years ago
5.1.2
4 years ago
5.1.1
4 years ago
5.1.0
4 years ago
5.0.4
4 years ago
5.0.2
4 years ago
5.0.1
4 years ago
5.0.0
4 years ago
0.2.2
4 years ago
0.1.0
4 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.1
5 years ago