We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d88a25 commit 8e09b57Copy full SHA for 8e09b57
samples/javascript/index.js
@@ -1,4 +1,4 @@
1
-var LaunchDarklyApi = require('launchdarkly-api');
+import LaunchDarklyApi from 'launchdarkly-api';
2
3
var defaultClient = LaunchDarklyApi.ApiClient.instance;
4
samples/javascript/package.json
@@ -0,0 +1,16 @@
+{
+ "name": "launchdarkly-api-javascript",
+ "version": "1.0.0",
+ "description": "LaunchDarkly REST API JavaScript client",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "keywords": [
11
+ "launchdarkly",
12
+ "api",
13
+ "client"
14
+ ],
15
+ "license": "Apache-2.0"
16
+}
0 commit comments