From 7a7b30391419754f1de1d58c1f414c655d6f587b Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sat, 27 Apr 2024 09:58:39 -0700 Subject: [PATCH] docs: update install command order --- README.md | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index adc2164..7d429bf 100644 --- a/README.md +++ b/README.md @@ -12,22 +12,19 @@ Try it in the [Svelte REPL](https://svelte.dev/repl/8cd2327a580c4f429c71f7df999b ## Installation -**Yarn** +```sh +# npm +npm i -D svelte-intersection-observer -```bash -yarn add -D svelte-intersection-observer -``` +# pnpm +pnpm i -D svelte-intersection-observer -**NPM** +# Bun +bun i -D svelte-intersection-observer -```bash -npm i -D svelte-intersection-observer -``` - -**pnpm** +# Yarn +yarn add -D svelte-intersection-observer -```bash -pnpm i -D svelte-intersection-observer ``` ## Usage