@annoai/node-openfaas

A helper method used to call openfaas functions.

Usage no npm install needed!

<script type="module">
  import annoaiNodeOpenfaas from 'https://cdn.skypack.dev/@annoai/node-openfaas';
</script>

README

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')