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
To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing `package.json` (and this README). Let's call this `JAVASCRIPT_CLIENT_DIR`. Then run:
23
-
24
-
```shell
25
-
npm install
26
-
```
27
-
28
-
Next, [link](https://docs.npmjs.com/cli/link) it globally in npm with the following, also from `JAVASCRIPT_CLIENT_DIR`:
29
-
30
-
```shell
31
-
npm link
32
-
```
33
-
34
-
To use the link you just defined in your project, switch to the directory you want to use your sendx-javascript-sdk from, and run:
35
-
36
-
```shell
37
-
npm link /path/to/<JAVASCRIPT_CLIENT_DIR>
38
-
```
39
-
40
-
Finally, you need to build the module:
41
-
42
-
```shell
43
-
npm run build
44
-
```
45
-
46
21
### For browser
47
22
48
23
The library also works in the browser environment via npm and [browserify](http://browserify.org/). After following
0 commit comments