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
Copy file name to clipboardExpand all lines: README.md
+50-18Lines changed: 50 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
# lob-typescript-sdk
2
2
3
-
Typescript SDK for the [Lob.com](https://lob.com) API. See full Lob.com API documentation [here](https://lob.com/docs/node). For best results, be sure that you're using [the latest version](https://lob.com/docs/node#version) of the Lob API and the latest version of the Node wrapper.
The full and comprehensive documentation of Lob's APIs is available [here](https://docs.lob.com/).
52
55
53
-
## Contributing
56
+
## Supported Node.js Versions
57
+
58
+
Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
59
+
This package is compatible with all current _active_ and _maintenance_ versions of
60
+
Node.js. If you are using a version that is not listed as an _active_ or _maintenance_ version we recommend that you switch to an actively supported LTS version.
61
+
62
+
Any support or compatability with versions of Node.js not listed as _active_ or _maintenance_ is on a
63
+
best-efforts basis.
54
64
55
-
<<<< UPDATE BEFORE PUBLISHING >>>>
65
+
## Contributing
56
66
57
-
To contribute, please see the CONTRIBUTING.md file.
67
+
To contribute, please see the [Contributing.md](https://github.com/lob/lob-typescript-sdk/blob/main/.github/Contributing.md) file.
58
68
59
69
## Testing
60
70
@@ -68,8 +78,30 @@ $ npm test
68
78
69
79
### Integration Tests
70
80
71
-
Running integration tests requires multiple valid API keys with access to specific features. As such, it is not expected that these tests will pass for every user in every environment.
81
+
Integration tests run against a live deployment of the Lob API and require multiple valid API keys with access to specific features. As such, it is not expected that these tests will pass for every user in every environment.
82
+
83
+
To run integration tests:
72
84
73
85
```bash
74
86
$ LOB_API_KEY=<<API KEY 1>> LOB_LIVE_API_KEY=<< API KEY 2>> npm run test:integration
75
87
```
88
+
89
+
#### A cleaner alternative if you are going to run integration tests frequently
90
+
91
+
Run this the first time:
92
+
93
+
```bash
94
+
$ echo "LOB_API_KEY=<<API KEY 1>>\nLOB_LIVE_API_KEY=<< API KEY 2>>" > LOCAL.env
Released under the MIT License, which can be found in the repository in [LICENSE.txt](https://github.com/lob/lob-typescript-sdk/blob/main/LICENSE.txt).
0 commit comments