@captapi/sdk 0.1.0

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.
@@ -0,0 +1,3 @@
1
+ export { Captapi } from "./generated.js";
2
+ export * from "./generated.js";
3
+ export { CaptapiError, DEFAULT_BASE_URL, type ApiEnvelope, type CaptapiOptions, } from "./core.js";
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ export { Captapi } from "./generated.js";
2
+ export * from "./generated.js";
3
+ export { CaptapiError, DEFAULT_BASE_URL, } from "./core.js";
package/package.json ADDED
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "@captapi/sdk",
3
+ "version": "0.1.0",
4
+ "description": "Official typed TypeScript SDK for the Captapi social media API — 179 endpoints across 29 platforms (YouTube, TikTok, Instagram, Facebook, X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Twitch, Spotify, and more). Zero dependencies, built on fetch.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "main": "dist/index.js",
8
+ "types": "dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "default": "./dist/index.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "README.md"
18
+ ],
19
+ "engines": {
20
+ "node": ">=18"
21
+ },
22
+ "sideEffects": false,
23
+ "keywords": [
24
+ "captapi",
25
+ "sdk",
26
+ "typescript",
27
+ "social-media",
28
+ "scraping",
29
+ "api-client",
30
+ "youtube",
31
+ "tiktok",
32
+ "instagram",
33
+ "reddit",
34
+ "twitter",
35
+ "transcript"
36
+ ],
37
+ "homepage": "https://captapi.com",
38
+ "repository": {
39
+ "type": "git",
40
+ "url": "https://github.com/CDCStream/captapi.git",
41
+ "directory": "packages/captapi-sdk"
42
+ },
43
+ "scripts": {
44
+ "build": "tsc",
45
+ "prepublishOnly": "npm run build"
46
+ },
47
+ "devDependencies": {
48
+ "@types/node": "^22.0.0",
49
+ "typescript": "^5.6.0"
50
+ }
51
+ }