SnapAPI/sdk/node/package.json
OpenClawd 66ecc471cf
All checks were successful
Build & Deploy to Staging / Build & Deploy to Staging (push) Successful in 9m1s
feat: add Node.js and Python SDKs
- Node.js SDK: TypeScript, ESM+CJS, zero deps (uses native fetch)
- Python SDK: zero deps (uses urllib), Python 3.8+
- Both fully documented with examples and type hints
- Ready for npm/PyPI publishing
2026-02-23 14:02:15 +00:00

34 lines
939 B
JSON

{
"name": "snapapi",
"version": "1.0.0",
"description": "Official Node.js SDK for SnapAPI — EU-hosted screenshot API",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
},
"files": ["dist"],
"scripts": {
"build": "tsc && tsc --module commonjs --outDir dist/cjs && mv dist/cjs/index.js dist/index.cjs && rm -rf dist/cjs",
"prepublishOnly": "npm run build"
},
"keywords": ["screenshot", "api", "webpage", "capture", "puppeteer", "headless", "eu", "gdpr"],
"author": "Cloonar Technologies GmbH",
"license": "MIT",
"homepage": "https://snapapi.eu",
"repository": {
"type": "git",
"url": "https://git.cloonar.com/openclawd/SnapAPI"
},
"engines": {
"node": ">=18"
},
"devDependencies": {
"typescript": "^5.0.0"
}
}