From cd720a6806f96ca14fb53310be097cc8c18d148f Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Tue, 14 May 2024 21:32:50 -0700 Subject: [PATCH] docs: refresh install commands --- README.md | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index c2f46ad..602e72b 100644 --- a/README.md +++ b/README.md @@ -16,22 +16,18 @@ Try it in the [Svelte REPL](https://svelte.dev/repl/2841eef46bfb49c4a848a2a06360 ## Installation -**Yarn** - -```bash -yarn add -D svelte-pincode -``` - -**NPM** - -```bash +```sh +# npm npm i -D svelte-pincode -``` -**pnpm** - -```bash +# pnpm pnpm i -D svelte-pincode + +# Bun +bun i -D svelte-pincode + +# Yarn +yarn add -D svelte-pincode ``` ## Usage @@ -375,10 +371,6 @@ Use the unstyled components located in the `svelte/src/unstyled` folder if you p - on:blur - on:keydown -## TypeScript - -Svelte version 3.31 or greater is required to use this component with TypeScript. - ## Changelog [CHANGELOG.md](CHANGELOG.md)