You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains a client library for LaunchDarkly's REST API. This client was automatically
2
-
generated from our [OpenAPI specification](https://github.com/launchdarkly/ld-openapi).
2
+
generated from our [OpenAPI specification](https://app.launchdarkly.com/api/v2/openapi.json) using a [code generation library](https://github.com/launchdarkly/ld-openapi). View our [sample code](#sample-code) for example usage.
3
3
4
-
This REST API is for custom integrations, data export, or automating your feature flag workflows. *DO NOT* use this client library to include feature flags in your web or mobile application. To integrate feature flags with your application, please see the [SDK documentation](https://docs.launchdarkly.com/v2.0/docs)
4
+
This REST API is for custom integrations, data export, or automating your feature flag workflows. *DO NOT* use this client library to include feature flags in your web or mobile application. To integrate feature flags with your application, read the [SDK documentation](https://docs.launchdarkly.com/sdk).
5
+
## launchdarkly-api-typescript@6.0.0
5
6
7
+
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
8
+
9
+
Environment
10
+
* Node.js
11
+
* Webpack
12
+
* Browserify
13
+
14
+
Language level
15
+
* ES5 - you must have a Promises/A+ library installed
16
+
* ES6
17
+
18
+
Module system
19
+
* CommonJS
20
+
* ES6 module system
21
+
22
+
It can be used in both TypeScript and JavaScript. In TypeScript, the definition should be automatically resolved via `package.json`. ([Reference](http://www.typescriptlang.org/docs/handbook/typings-for-npm-packages.html))
23
+
24
+
### Building
25
+
26
+
To build and compile the typescript sources to javascript use:
27
+
```
28
+
npm install
29
+
npm run build
30
+
```
31
+
32
+
### Publishing
33
+
34
+
First build the package then run ```npm publish```
35
+
36
+
### Consuming
37
+
38
+
navigate to the folder of your consuming project and run one of the following commands.
0 commit comments