Node.js Image

Announcing the Javascript SDK for

November 15, 2017 by Nate Williams

We’re pleased and excited to announce the first public release of flexio-sdk-js, the JavaScript SDK for It’s available as an NPM package, and works on Node.js as well as in the browser.

Although our team has been quite fond of our private version of the SDK for some time, this very hungry caterpillar still needed a few months of hard work to emerge from its chrysalis as a public release. And, today, at Version 1.8.3, it finally decided to break through and peek out.

Building Blocks for API Integrations and Tasks

Delivering the Javascript SDK is a big step on our path to making it super-easy to integrate your app with the machinery of the web.

The SDK provides a toolkit for simplifying common API integrations and tasks. Making a request to an API endpoint is pretty trivial, but real-world integrations often require a bunch of additional steps and processing infrastructure – stuff like reformatting JSON, looping through records, tagging files, enriching local stores with external data, aggregating statistics and validating inputs.

Using the SDK, you can put together information from APIs any way you want. For instance, you can process and transform the results from API calls and easily build and wrap functions on top of these services to deliver content the way you want.

Our goal is to give developers the building blocks to knock out complex integrations with just a few lines of code.

Inspect code templates graphic

Code Templates

We’ve put together a few resources to give you a quick look at the SDK. To begin, check out the Getting Started Guide for a set of basic examples. For more details, you can find everything else in the full set of SDK docs and the API reference.

In addition, we’ve added several code templates that highlight some handy uses:

  • Serverless functions. You can now set up a serverless function using Python or Javascript code in a single step. If you’ve ever wished you could do “that one thing” using Python or Node.js, you can use the SDK’s python() and javascript() functions. Check out how to create your own serverless functions with Python or using Node.js.

  • Using CSV data from the web. You can convert and use CSVs returned from a web link or API endpoint for reports and charts, without the troubles of parsing or bringing down the data. If you’ve seen data on the web and wished you could use it without the woes of handling it or downloading a huge chunk of data, you’ll appreciate the request(), convert() and filter() functions. Take a look at how to convert a CSV file on the web to JSON, along with our template on how to set up a data feed of stock history from Google Finance.

  • Notifications. You can easily send messages, such as emails, Slack messages, or text messages without all the effort of hooking up to these services. Take a look at how to send an email, a Slack message, or a text message.

  • Quick format changes. You can make simple format changes in a single step, such as flattening JSON into a downloadable CSV using the convert() function, or generating a PDF snapshot of a webpage using the render() function. Take a look at our template for how to render a webpage to a PDF to see how it works.

And there’s much more to come. For additional examples, check out the full list of templates.

Let Us Know What You Think

There’s still quite a lot to do to the realize the vision and promise for this toolkit, but better to get it out and let you have a look.

We’re more than eager to get your thoughts and feedback, so please don’t be shy. Shoot us an email or give us a call.

We hope you have fun with the SDK and enjoy getting some serious stuff done with it. We’re incredibly excited to get this into the wild, and can’t wait to see what you build!