Commit 81d6529d authored by Travis Fischer's avatar Travis Fischer

👉

parent 288509b6
......@@ -7,6 +7,7 @@
"license": "MIT",
"type": "module",
"source": "./src/index.ts",
"types": "./build/index.d.ts",
"exports": {
"import": "./build/index.js",
"default": "./build/index.js",
......
......@@ -6,6 +6,7 @@
- [Intro](#intro)
- [Auth](#auth)
- [Install](#install)
- [Usage](#usage)
- [Example](#example)
- [Docs](#docs)
......@@ -25,6 +26,16 @@ It uses headless Chromium via [Playwright](https://playwright.dev), so **you sti
Chromium is opened in non-headless mode by default, which is important because the first time you run `ChatGPTAPI.init()`, you'll need to log in manually. We launch Chromium with a persistent context, so you shouldn't need to keep re-logging in after the first time.
## Install
```bash
npm install --save chatgpt
# or
yarn add chatgpt
# or
pnpm add chatgpt
```
## Usage
```ts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment