{"_id":"@aiassist-secure/intelligence","name":"@aiassist-secure/intelligence","dist-tags":{"latest":"1.1.0"},"versions":{"1.1.0":{"name":"@aiassist-secure/intelligence","version":"1.1.0","description":"Official TypeScript SDK for the AiAS Intelligence API — raw signal scanning across 22+ platforms","type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"engines":{"node":">=18.0.0"},"keywords":["aiassist","aias","intelligence","signal","scanning","api-client"],"author":{"name":"AiAssist Secure","email":"dev@aiassist.net","url":"https://aiassist.net"},"license":"MIT","homepage":"https://aiassist.net","repository":{"type":"git","url":"git+https://github.com/aiassist-secure/intelligence-typescript.git"},"devDependencies":{"typescript":"^5.3.0"},"_id":"@aiassist-secure/intelligence@1.1.0","gitHead":"222aede8fb670e5f2a8aa5a496eac93ff03c7d93","bugs":{"url":"https://github.com/aiassist-secure/intelligence-typescript/issues"},"_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-rkMj+14HdMq5H+zbkzTHzrS3C+CbgCu3Grmd8eC6AhdAc9bZiBWyWfRGfx1PEcHpWaWw9Hk0mBpWZpNMlwu0/A==","shasum":"3b86add3621016883857d10b70d9ed0a09f3c527","tarball":"https://registry.npmjs.org/@aiassist-secure/intelligence/-/intelligence-1.1.0.tgz","fileCount":5,"unpackedSize":9387,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCe2PiZNM+Ijzrxq16CG8CiQdIFSOR5cCoHFOzNzLjsuAIgdYSeZ5Wr/pNUit99JhDciopBiEtT0wgYSFDGyeAQnlQ="}]},"_npmUser":{"name":"interchained","email":"interchained@gmail.com"},"directories":{},"maintainers":[{"name":"interchained","email":"interchained@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/intelligence_1.1.0_1774233533010_0.45943038121666735"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-23T02:38:52.909Z","1.1.0":"2026-03-23T02:38:53.177Z","modified":"2026-03-23T02:38:53.414Z"},"maintainers":[{"name":"interchained","email":"interchained@gmail.com"}],"description":"Official TypeScript SDK for the AiAS Intelligence API — raw signal scanning across 22+ platforms","homepage":"https://aiassist.net","keywords":["aiassist","aias","intelligence","signal","scanning","api-client"],"repository":{"type":"git","url":"git+https://github.com/aiassist-secure/intelligence-typescript.git"},"author":{"name":"AiAssist Secure","email":"dev@aiassist.net","url":"https://aiassist.net"},"bugs":{"url":"https://github.com/aiassist-secure/intelligence-typescript/issues"},"license":"MIT","readme":"# @aiassist-secure/intelligence\n\nOfficial TypeScript/JavaScript SDK for the AiAS Intelligence API.\n\nScan 22+ online platforms for raw signal data — Reddit, Twitter/X, Hacker News, LinkedIn, Product Hunt, and more.\n\n## Install\n\n```bash\nnpm install @aiassist-secure/intelligence\n```\n\n## Quick Start\n\n```typescript\nimport { AiASIntelligence } from \"@aiassist-secure/intelligence\";\n\nconst client = new AiASIntelligence({ apiKey: \"aai_your_key_here\" });\n\n// List available sources\nconst { data, meta } = await client.sources();\nconsole.log(data.sources); // [{name: \"reddit\", premium: false, provider: \"free\"}, ...]\n\n// Scan sources for raw data\nconst results = await client.scan({\n  sources: [\"reddit\", \"hackernews\", \"devto\"],\n  keywords: [\"saas\", \"ai tools\"],\n  limit: 20,\n});\n\nconsole.log(`Found ${results.data.total} results in ${results.meta.processing_ms}ms`);\nfor (const item of results.data.results) {\n  console.log(`[${item.source}] ${item.title} — ${item.url}`);\n}\n```\n\n## API\n\n### `new AiASIntelligence(config)`\n\n| Option | Type | Default | Description |\n|--------|------|---------|-------------|\n| `apiKey` | `string` | required | Your AiAS API key (`aai_...`) |\n| `baseUrl` | `string` | `https://aiassist.net` | API base URL |\n| `timeout` | `number` | `60000` | Request timeout in ms |\n\n### `client.sources()`\n\nReturns all available signal sources with premium/free status.\n\n### `client.scan(options)`\n\n| Option | Type | Default | Description |\n|--------|------|---------|-------------|\n| `sources` | `ValidSource[]` | required | Platforms to scan (max 10) |\n| `keywords` | `string[]` | `[]` | Search keywords |\n| `limit` | `number` | `25` | Results per source (1-50) |\n| `category` | `string` | `\"recent\"` | Sort category |\n| `subreddits` | `string[]` | `[]` | Filter specific subreddits |\n\n### Available Sources\n\n**Free:** reddit, hackernews, devto, lobsters, hashnode, betalist, echojs, wip, launchingnext, hackernoon, makerlog, alternativeto, saashub, tldr, changelog, indiehackers, producthunt, telegram\n\n**Premium (requires Netrows key):** twitter, linkedin_jobs, linkedin_people, google_news\n\n## Requirements\n\n- Node.js 18+\n- AiAS Pro or Enterprise plan\n- Zero dependencies\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-23c4916d991a848196afab3510b419c6"}