Skip to content

Commit e926382

Browse files
committed
docs(readme): drop jsr prefix from import examples
- Import Context from the bare deserve specifier - Import Router from the bare deserve specifier
1 parent fd8f411 commit e926382

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ See the [installation guide](https://docs-deserve.neabyte.com/getting-started/in
2525
Create a routes directory and export HTTP method handlers. Start the server.
2626

2727
```typescript
28-
import { Router } from 'jsr:@neabyte/deserve'
28+
import { Router } from '@neabyte/deserve'
2929

3030
// Create router pointing at routes directory
3131
const router = new Router({ routes: { directory: './routes' } })
@@ -44,7 +44,7 @@ await router.serve(8000)
4444
**Example route** in `routes/hello.ts`:
4545

4646
```typescript
47-
import type { Context } from 'jsr:@neabyte/deserve'
47+
import type { Context } from '@neabyte/deserve'
4848

4949
// Export GET, POST, PUT, path from file location
5050
export function GET(ctx: Context): Response {

0 commit comments

Comments
 (0)