feat: init
parents
Showing
.env.example
0 → 100644
.github/funding.yml
0 → 100644
.github/workflows/test.yml
0 → 100644
.gitignore
0 → 100644
.husky/pre-commit
0 → 100755
.npmrc
0 → 100644
.prettierignore
0 → 100644
.prettierrc.cjs
0 → 100644
license
0 → 100644
package.json
0 → 100644
{ | ||
"name": "chatgpt", | ||
"version": "0.0.1", | ||
"description": "Node.js wrapper around ChatGPT. Uses headless Chrome as a temporary solution until the official API is released.", | ||
"author": "Travis Fischer <travis@transitivebullsh.it>", | ||
"repository": "transitive-bullshit/chatgpt-api", | ||
"license": "MIT", | ||
"type": "module", | ||
"source": "./src/index.ts", | ||
"exports": { | ||
"import": "./build/index.js", | ||
"default": "./build/index.js", | ||
"types": "./build/index.d.ts" | ||
}, | ||
"files": [ | ||
"build" | ||
], | ||
"engines": { | ||
"node": ">=14" | ||
}, | ||
"scripts": { | ||
"build": "tsup", | ||
"dev": "tsup --watch", | ||
"clean": "del build", | ||
"prebuild": "run-s clean", | ||
"predev": "run-s clean", | ||
"pretest": "run-s build", | ||
"docs": "typedoc", | ||
"prepare": "husky install", | ||
"pre-commit": "lint-staged", | ||
"test": "run-p test:*", | ||
"test:prettier": "prettier '**/*.{js,jsx,ts,tsx}' --check" | ||
}, | ||
"dependencies": { | ||
"html-to-md": "npm:@fisch0920/html-to-md@^0.8.1", | ||
"joplin-turndown": "^4.0.30", | ||
"node-html-markdown": "^1.2.2", | ||
"playwright": "^1.28.1", | ||
"turndown": "^7.1.1" | ||
}, | ||
"devDependencies": { | ||
"@trivago/prettier-plugin-sort-imports": "^4.0.0", | ||
"@types/node": "^18.11.9", | ||
"del-cli": "^5.0.0", | ||
"delay": "^5.0.0", | ||
"husky": "^8.0.2", | ||
"lint-staged": "^13.0.3", | ||
"npm-run-all": "^4.1.5", | ||
"openapi-types": "^12.0.2", | ||
"ora": "^6.1.2", | ||
"prettier": "^2.8.0", | ||
"tsup": "^6.5.0", | ||
"tsx": "^3.12.1", | ||
"typedoc": "^0.23.21", | ||
"typedoc-plugin-markdown": "^3.13.6", | ||
"typescript": "^4.9.3" | ||
}, | ||
"lint-staged": { | ||
"*.{ts,tsx}": [ | ||
"prettier --write" | ||
] | ||
}, | ||
"keywords": [ | ||
"openai", | ||
"chatgpt", | ||
"gpt", | ||
"gpt3", | ||
"gpt4", | ||
"chatbot", | ||
"chat", | ||
"machine learning", | ||
"conversation", | ||
"conversational ai", | ||
"ai", | ||
"ml", | ||
"bot" | ||
] | ||
} |
pnpm-lock.yaml
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
readme.md
0 → 100644
src/chatgpt-api.ts
0 → 100644
src/example.ts
0 → 100644
src/index.ts
0 → 100644
src/types.ts
0 → 100644
tsconfig.json
0 → 100644
tsup.config.ts
0 → 100644
typedoc.json
0 → 100644
Please register or sign in to comment