1.0.10 • Published 3 years ago

@orquestadev/node v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Orquesta Node SDK

Prerequisites

  • Node.js version 8
  • An Orquesta account, check orquesta.dev.

Installation

npm

npm
install
@orquestadev/
node

yarn

yarn
add
@orquestadev/
node

Usage

You can get your workspace API key from the settings section in your workspace.

import { createClient } from '@orquestadev/node';

const client = createClient({
  apiKey: 'my_workspace_api_key',
});

Query a rule

import { createClient } from '@orquestadev/node';

const client = createClient({
  apiKey: 'my_workspace_api_key',
});

await client.query('my_rule_key', 'my_default_value', {
  environments: 'production',
});

Query a domain of rules

import { createClient } from '@orquestadev/node';

const client = createClient({
  apiKey: 'my_workspace_api_key',
});

await client.queryDomain('my_domain_key', {
  environments: 'production',
});
1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.0-b3

3 years ago

1.0.0-b1

3 years ago

0.0.1

3 years ago