From 7d7f5f9a750880c9bf8d64e791db50d451babf7e Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Sun, 13 Aug 2023 20:24:09 -0700 Subject: [PATCH] docs: add install instructions for bun and pnpm --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 47adf39b..b708f137 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,18 @@ Via yarn yarn add ts-pattern ``` +Via pnpm + +``` +pnpm add ts-pattern +``` + +Via Bun + +``` +bun add ts-pattern +``` + ### Compatibility with different TypeScript versions TS-Pattern assumes that [Strict Mode](https://www.typescriptlang.org/tsconfig#strict) is enabled in your `tsconfig.json` file.