1.1.0 • Published 5 years ago
@annoai/node-openfaas v1.1.0
node-openfaas
A helper method used to call openfaas functions.
usage
const OpenFaas = require('@annoai/node-openfaas')
const faas = new OpenFaas('http://localhost:8080')
const res = await faas.call('functionName', 'https://website/image.jpg')