@li-nk.me/node-sdk 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -4
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -1,8 +1,32 @@
|
|
|
1
1
|
# LinkMe Node SDK
|
|
2
2
|
|
|
3
|
-
Node.js client for LinkMe — links admin and resolution API.
|
|
3
|
+
Official Node.js client for LinkMe — links admin and resolution API.
|
|
4
4
|
|
|
5
|
-
-
|
|
6
|
-
-
|
|
5
|
+
- **Main Site**: [li-nk.me](https://li-nk.me)
|
|
6
|
+
- **Documentation**: [Node Setup](https://li-nk.me/docs/developer/setup/node)
|
|
7
|
+
- **Package**: [npm](https://www.npmjs.com/package/@li-nk/node-sdk)
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install @li-nk/node-sdk
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Basic Usage
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
import LinkMeClient from '@li-nk/node-sdk';
|
|
19
|
+
|
|
20
|
+
const client = new LinkMeClient({
|
|
21
|
+
baseUrl: 'https://li-nk.me',
|
|
22
|
+
apiKey: 'YOUR_API_KEY',
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
const created = await client.createLink({ appId: 'app_123', slug: 'welcome', deepLink: '/welcome' });
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
For full documentation, guides, and API reference, please visit our [Help Center](https://li-nk.me/docs/help).
|
|
29
|
+
|
|
30
|
+
## License
|
|
31
|
+
|
|
32
|
+
Apache-2.0
|
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@li-nk.me/node-sdk",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Official li-nk.me Node.js client for administering links via the Edge API.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/r-dev-limited/li-nk.me-node-sdk"
|
|
10
|
+
},
|
|
7
11
|
"main": "dist/index.js",
|
|
8
12
|
"module": "dist/index.js",
|
|
9
13
|
"types": "dist/index.d.ts",
|