openai-token
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i openai-token

Weekly Downloads

10

Version

1.0.0

License

MIT

Unpacked Size

19.4 kB

Total Files

5

Last publish

Collaborators

  • michael-dm