https://github.com/tsirysndr/exit-js
Provides an `exit()` function that works with Deno, Bun and Node.js
https://github.com/tsirysndr/exit-js
bun deno nodejs process
Last synced: 4 months ago
JSON representation
Provides an `exit()` function that works with Deno, Bun and Node.js
- Host: GitHub
- URL: https://github.com/tsirysndr/exit-js
- Owner: tsirysndr
- License: mit
- Created: 2024-03-03T17:57:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-05T06:39:05.000Z (over 1 year ago)
- Last Synced: 2025-01-25T07:07:52.055Z (5 months ago)
- Topics: bun, deno, nodejs, process
- Language: TypeScript
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# exit-js
[](https://jsr.io/@tsirysndr/exit-js)
This is a simple package that provides an `exit` function, it works with different runtimes like [Deno](https://deno.com/), [Bun](https://bun.sh/) and [Node.js](https://nodejs.org/).
## 🚀 Usage
```typescript
import { exit } from 'jsr:@tsirysndr/exit-js';exit();
```