From 42be65a46ae5cdf4df2913feaa5812f29c36216b Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Mon, 4 Mar 2024 15:41:23 -0500 Subject: [PATCH] fix(docs): update for ESM --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 495a13f6..7e2b0709 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,7 @@ Node Install with npm install @octokit/rest ```js -const { Octokit } = require("@octokit/rest"); -// or: import { Octokit } from "@octokit/rest"; +import { Octokit } from "@octokit/rest"; ```