Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-05T06:39:05.000Z (10 months ago)
- Last Synced: 2024-11-14T00:07:26.766Z (about 1 month 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/badges/@tsirysndr/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();
```