From 189b259e5657606c2a5b0c8b36717e73bb408098 Mon Sep 17 00:00:00 2001 From: Bibhushan Karki Date: Wed, 15 May 2024 13:07:43 +0545 Subject: [PATCH] doc: Update README.md for installation with other package managers --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4cf147635..8ab0a5517 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,13 @@ Passing anything other than a string will result in an error. ### Server-side usage -Install the library with `npm install validator` +Install the `validator` package as: + +```sh +npm i validator +yarn add validator +pnpm i validator +``` #### No ES6