FeaturevisorFeaturevisor

SDKs

Node.js SDK

You can use the same Featurevisor JavaScript SDK in Node.js as well.

Installation

Install with npm:

$ npm install --save @featurevisor/sdk

API

Please find the full API docs in JavaScript SDK page.

Polyfills

fetch

Featurevisor JavaScript SDK relies on fetch API for fetching datafiles.

If your Node.js version does not support fetch globally, you can use isomorphic-fetch.

You can install it with npm:

$ npm install --save isomorphic-fetch

And then require() it in your code:

require("isomorphic-fetch");
Previous
JavaScript