1.0.2 • Published 9 months ago

bhhoang-gpt-token v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

OpenAIAuth for Node.js

OpenAI Authentication Library for ChatGPT.

Usage

import Authenticator from 'cgpt-token'

const auth = new Authenticator('my@email.com', 'myPassword')
// proxy server [ip]:[port]
// const auth = new Authenticator('my@email.com', 'myPassword', '127.0.0.1:7890')
await auth.begin()
const token = await auth.getAccessToken()

Credits Thank you to: