Skip to content

Commit

Permalink
Cleanup. Release 0.0.10.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed Mar 6, 2024
1 parent e03a14b commit ce255ff
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 31 deletions.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Node
node_modules
.npmrc
test.js
package-lock.json

# Deno
deno.lock

# Generic
test.js
11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

This package provides a robust, cross runtime, way to determine the current runtime environment (Deno, Bun, Node.js, or browser) along with detailed browser detection.

**Installation**

Refer to the installation instructions on the official JSR documentation: [invalid URL removed]

**Usage Example**

```javascript
Expand All @@ -19,15 +15,12 @@ console.log(`Version: ${CurrentVersion}`);

if (CurrentRuntime == Runtime.Deno) {
console.log("You're running Deno!");
} else {
console.log("You're not running Deno!");
}
```

**Full Documentation**

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

**Why Choose @cross/runtime?**

If you need reliable and flexible runtime detection across different JavaScript and TypeScript environments, `@cross/runtime` is an excellent choice. It's actively maintained, supports all
environments, minimal and free from dependencies.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cross/runtime",
"version": "0.0.9",
"version": "0.0.10",
"exports": "./mod.ts",
"fmt": {
"lineWidth": 200
Expand Down
21 changes: 0 additions & 21 deletions deno.lock

This file was deleted.

0 comments on commit ce255ff

Please sign in to comment.