Featurevisor

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.

Consuming the SDK

Require

If you are not dealing with ES Modules in Node.js, you can use require() as usual:

const { createInstance } = require('@featurevisor/sdk')

Import

If you want to take advantage of ES Modules, you can import the SDK directly:

import { createInstance } from '@featurevisor/sdk'

Example repository

You can refer to this repository that shows a fully working Node.js application using Featurevisor SDK: https://github.com/featurevisor/featurevisor-example-nodejs,

Previous
JavaScript