Skip to content

Commit 6cf82d7

Browse files
committed
chore: update readme
1 parent 0e875d2 commit 6cf82d7

File tree

1 file changed

+1
-32
lines changed

1 file changed

+1
-32
lines changed

README.md

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -18,33 +18,14 @@ Lightweight and fast router for JavaScript.
1818

1919
**Install:**
2020

21-
<!-- automd:pm-install -->
22-
2321
```sh
2422
# ✨ Auto-detect
2523
npx nypm install rou3
26-
27-
# npm
28-
npm install rou3
29-
30-
# yarn
31-
yarn add rou3
32-
33-
# pnpm
34-
pnpm install rou3
35-
36-
# bun
37-
bun install rou3
38-
39-
# deno
40-
deno install rou3
4124
```
4225

43-
<!-- /automd -->
44-
4526
**Import:**
4627

47-
<!-- automd:jsimport cdn cjs src="./src/index.ts"-->
28+
<!-- automd:jsimport cdn src="./src/index.ts"-->
4829

4930
**ESM** (Node.js, Bun, Deno)
5031

@@ -58,18 +39,6 @@ import {
5839
} from "rou3";
5940
```
6041

61-
**CommonJS** (Legacy Node.js)
62-
63-
```js
64-
const {
65-
createRouter,
66-
addRoute,
67-
findRoute,
68-
removeRoute,
69-
findAllRoutes,
70-
} = require("rou3");
71-
```
72-
7342
**CDN** (Deno, Bun and Browsers)
7443

7544
```js

0 commit comments

Comments
 (0)