From 37ea758e32fda50b1b10feaa8c727dc62fcc0626 Mon Sep 17 00:00:00 2001 From: Anton Kuznetsov <1788245+isnifer@users.noreply.github.com> Date: Thu, 10 Oct 2024 14:13:51 +0400 Subject: [PATCH 1/2] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 51fbb69..ee9e1fd 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,9 @@ $ npm install cookie ## API ```js -const cookie = require("cookie"); +const cookie = require("cookie"); // commonjs +// OR +import * as cookie from 'cookie' // es modules ``` ### cookie.parse(str, options) From fff6a4e1ce47e3acb68509abb79181ba0e62a6f4 Mon Sep 17 00:00:00 2001 From: Blake Embrey Date: Fri, 18 Oct 2024 09:31:36 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ee9e1fd..54e1cda 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,8 @@ $ npm install cookie ## API ```js -const cookie = require("cookie"); // commonjs -// OR -import * as cookie from 'cookie' // es modules +const cookie = require("cookie"); +// import * as cookie from 'cookie'; ``` ### cookie.parse(str, options)