Skip to content

Commit e560c87

Browse files
committed
Fix readme
1 parent 125a1b1 commit e560c87

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

README.md

+11-5
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,17 @@
44

55
This package provides a well defined, cross runtime, way to determine details about the current runtime environment (Deno, Bun, Node.js, or browser) along with detailed browser detection.
66

7-
Try it out at [jsfiddle.net/ux87tLz4/6/](https://jsfiddle.net/ux87tLz4/6/)
7+
Try it out at [https://jsfiddle.net/hexag0n/x9568nmy/](https://jsfiddle.net/hexag0n/x9568nmy/)
88

99
```javascript
10-
import { CurrentArchitecture, CurrentOS, CurrentProduct, CurrentRuntime, CurrentVersion, Runtime } from "@cross/runtime";
10+
import {
11+
CurrentArchitecture,
12+
CurrentOS,
13+
CurrentProduct,
14+
CurrentRuntime,
15+
CurrentVersion,
16+
Runtime
17+
} from "@cross/runtime";
1118

1219
console.log(`Runtime: ${CurrentRuntime}`);
1320
console.log(`OS: ${CurrentOS}`);
@@ -34,7 +41,6 @@ Version: 1.0.30
3441
You're not running Deno!
3542
```
3643

37-
**Full Documentation**
44+
**Full Documentation and Installation Instructions**
3845

39-
For comprehensive documentation, including more advanced usage and examples, please visit the official JSR documentation (if your are not already there):
40-
[https://jsr.io/@cross/runtime](https://jsr.io/@cross/runtime).
46+
For comprehensive documentation, including more advanced usage and examples, please visit the documentation at jsr.io (if your are not already there): [https://jsr.io/@cross/runtime](https://jsr.io/@cross/runtime).

deno.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.0.15",
44
"exports": "./mod.ts",
55
"fmt": {
6-
"lineWidth": 200
6+
"lineWidth": 200,
7+
"exclude": ["README.md"]
78
}
89
}

0 commit comments

Comments
 (0)