From e9602c5b0f915a9c8bd1d55be97ef4f8d751a2d6 Mon Sep 17 00:00:00 2001 From: zachey <63107653+zachey01@users.noreply.github.com> Date: Tue, 20 Aug 2024 18:19:32 +0500 Subject: [PATCH] Remove browser build --- README.md | 10 - dist/gpt4js.min.js | 1 - index.cjs | 3 - index.js | 4 - package-lock.json | 3129 +++++++++----------------------------------- package.json | 8 +- 6 files changed, 598 insertions(+), 2557 deletions(-) delete mode 100644 dist/gpt4js.min.js diff --git a/README.md b/README.md index be4fcb4..e1bbbfa 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,6 @@ This package can be used in Node.js or Browser environments. - [Using NPM](#using-npm) - [Using Yarn](#using-yarn) - [Using Bun](#using-bun) - - [Using CDN](#using-cdn) - [🧩 Examples](#-examples) - [📤 Chat Completion](#-chat-completion) - [⚙️ Basic Usage](#️-basic-usage) @@ -70,14 +69,6 @@ yarn add gpt4js bun add gpt4js ``` - - -### Using CDN - -```html - -``` - # 🧩 Examples @@ -104,7 +95,6 @@ const getGPT4js = require("gpt4js"); const GPT4js = await getGPT4js(); // ESM import GPT4js from "gpt4js"; -// In browsers use