Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed Mar 7, 2024
1 parent 125a1b1 commit 0bcd7ad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@ This package provides a well defined, cross runtime, way to determine details ab
Try it out at [jsfiddle.net/ux87tLz4/6/](https://jsfiddle.net/ux87tLz4/6/)

```javascript
import { CurrentArchitecture, CurrentOS, CurrentProduct, CurrentRuntime, CurrentVersion, Runtime } from "@cross/runtime";
import {
CurrentArchitecture,
CurrentOS,
CurrentProduct,
CurrentRuntime,
CurrentVersion,
Runtime
} from "@cross/runtime";

console.log(`Runtime: ${CurrentRuntime}`);
console.log(`OS: ${CurrentOS}`);
Expand Down
3 changes: 2 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.0.15",
"exports": "./mod.ts",
"fmt": {
"lineWidth": 200
"lineWidth": 200,
"exclude": ["README.md"]
}
}

0 comments on commit 0bcd7ad

Please sign in to comment.