@skailar-ai/sdk 0.0.1 → 0.0.2
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 +3 -15
- package/package.json +8 -1
package/README.md
CHANGED
|
@@ -1,26 +1,14 @@
|
|
|
1
1
|
# Skailar SDK for TypeScript
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@skailar-ai/sdk)
|
|
4
|
+
|
|
3
5
|
The Skailar SDK for TypeScript provides access to the [Skailar API](https://skailar.com) — an OpenAI-compatible, multi-provider LLM gateway — from server-side TypeScript or JavaScript applications.
|
|
4
6
|
|
|
5
7
|
## Installation
|
|
6
8
|
|
|
7
|
-
This package is **pre-release and not yet published to npm.** Consume it locally with `bun link`:
|
|
8
|
-
|
|
9
|
-
```sh
|
|
10
|
-
# in this repo
|
|
11
|
-
bun install
|
|
12
|
-
bun run build
|
|
13
|
-
bun link
|
|
14
|
-
|
|
15
|
-
# in your project (declare the dep, then link)
|
|
16
|
-
# add "@skailar-ai/sdk": "*" to package.json dependencies, then:
|
|
17
|
-
bun link @skailar-ai/sdk
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
Once published, installation will be:
|
|
21
|
-
|
|
22
9
|
```sh
|
|
23
10
|
bun add @skailar-ai/sdk
|
|
11
|
+
# or: npm install @skailar-ai/sdk
|
|
24
12
|
```
|
|
25
13
|
|
|
26
14
|
## Getting started
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skailar-ai/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Official TypeScript SDK for the Skailar API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
],
|
|
14
14
|
"author": "Skailar",
|
|
15
15
|
"homepage": "https://skailar.com",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/getskailar/sdk-typescript.git"
|
|
19
|
+
},
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/getskailar/sdk-typescript/issues"
|
|
22
|
+
},
|
|
16
23
|
"main": "./dist/index.cjs",
|
|
17
24
|
"module": "./dist/index.js",
|
|
18
25
|
"types": "./dist/index.d.ts",
|