1.0.10 • Published 1 year ago

@orquestadev/node v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.0.9

1 year ago

1.0.8

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.0-b3

2 years ago

1.0.0-b1

2 years ago

0.0.1

2 years ago