@cm-growth-hacking/twitter-client 0.2.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 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ export { TwitterClient } from './client/TwitterClient.js';
2
+ export type { Tweet, User, MediaItem, NewsItem, TweetResult, TweetsResult, PostResult, UserResult, NewsResult, SearchResult, ThreadResult, Result, ErrorCode, } from './client/types.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,YAAY,EACV,KAAK,EACL,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,UAAU,EACV,UAAU,EACV,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,MAAM,EACN,SAAS,GACV,MAAM,mBAAmB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export { TwitterClient } from './client/TwitterClient.js';
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "@cm-growth-hacking/twitter-client",
3
+ "version": "0.2.0",
4
+ "description": "Lightweight Twitter/X GraphQL client and CLI",
5
+ "keywords": [
6
+ "twitter",
7
+ "x",
8
+ "api",
9
+ "graphql",
10
+ "cli",
11
+ "social-media",
12
+ "automation"
13
+ ],
14
+ "homepage": "https://github.com/thaddeus-git/bird#readme",
15
+ "bugs": {
16
+ "url": "https://github.com/thaddeus-git/bird/issues"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/thaddeus-git/bird.git"
21
+ },
22
+ "license": "MIT",
23
+ "author": "thaddeus",
24
+ "type": "module",
25
+ "main": "./dist/index.js",
26
+ "types": "./dist/index.d.ts",
27
+ "bin": {
28
+ "twitter": "bin/twitter.js"
29
+ },
30
+ "directories": {
31
+ "doc": "docs",
32
+ "test": "tests"
33
+ },
34
+ "files": [
35
+ "bin/",
36
+ "dist/",
37
+ "README.md",
38
+ "LICENSE"
39
+ ],
40
+ "scripts": {
41
+ "build": "bun build src/cli.ts --outfile bin/twitter.js --target bun && tsc",
42
+ "prepublishOnly": "npm run build",
43
+ "test": "bun test",
44
+ "test:live": "TWITTER_LIVE=1 bun test tests/live/",
45
+ "dev": "bun run src/cli.ts"
46
+ },
47
+ "dependencies": {
48
+ "kleur": "^4.1.5"
49
+ },
50
+ "devDependencies": {
51
+ "@types/node": "^22.0.0",
52
+ "bun-types": "^1.3.9",
53
+ "typescript": "^5.9.3"
54
+ },
55
+ "engines": {
56
+ "node": ">=20"
57
+ }
58
+ }