@node-lambdas/client
v1.0.5
Published
A browser/Node.js client for Node Lambdas -- https://jsfn.run/
Downloads
10
Readme
Node Lambdas Client
Node/web interface to use with jsfn.run API.
Usage
Here's an example on how to convert between JSON to YAML and then base64 using a web function:
// JSON > YAML > base64
const json = JSON.stringify({ hello: 'world' });
const encode = pipe({ name: 'yaml', action: 'encode' }, { name: 'base64', action: 'encode' });
const response = await encode(json);
console.log(await response.text());