From 90232d1750e1717fc01f77b5ba3462956d688c5c Mon Sep 17 00:00:00 2001 From: harishghasolia07 <100846446+harishghasolia07@users.noreply.github.com> Date: Tue, 23 Apr 2024 20:51:07 +0530 Subject: [PATCH] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 7d4540b..f7e7a21 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,13 @@ $ npm install morgan ```js +//In CommonJS var morgan = require('morgan') + +//ES modules (ESM) +import morgan from 'morgan'; + + ``` ### morgan(format, options)