npm.io
1.0.0 • Published 3 years ago

openai-token

Licence
MIT
Version
1.0.0
Deps
3
Size
19 kB
Vulns
0
Weekly
0
Stars
55

OpenAIAuth for Node.js

OpenAI Authentication Library for ChatGPT.

Usage

import Authenticator from 'openai-token'

const auth = new Authenticator('my@email.com', 'myPassword')
await auth.begin()
const token = await auth.getAccessToken()

Credits Thank you to:

  • [rawandahmad698] for the reverse engineering of the protocol