Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryoppippi/todeno-tobun
Convert Bun file to Deno file, and vice versa.
https://github.com/ryoppippi/todeno-tobun
bun deno
Last synced: 22 days ago
JSON representation
Convert Bun file to Deno file, and vice versa.
- Host: GitHub
- URL: https://github.com/ryoppippi/todeno-tobun
- Owner: ryoppippi
- Created: 2023-09-21T22:01:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-22T08:18:37.000Z (over 1 year ago)
- Last Synced: 2025-01-21T10:46:42.704Z (25 days ago)
- Topics: bun, deno
- Language: TypeScript
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# toDeno-toBun
Convert Bun file to Deno file, and vice versa.
## Usage
```sh
./toDeno.ts
deno run https://raw.githubusercontent.com/ryoppippi/toDeno-toBun/main/toDeno.ts
``````sh
./toBun.ts
deno run https://raw.githubusercontent.com/ryoppippi/toDeno-toBun/main/toBun.ts
```## Example
### To Deno
```example.ts
import { printIsBun } from "is-bun";printIsBun();
``````sh
./toDeno.ts example.ts
``````example.ts
import { printIsBun } from "npm:is-bun";printIsBun();
```
### To Bun
```example.ts
import { printIsBun } from "npm:is-bun";printIsBun();
``````sh
./toBun.ts example.ts
``````example.ts
import { printIsBun } from "is-bun";printIsBun();
```
## Authors
- Ryotaro "Justin" Kimura http://github.com/ryoppippi
## License
MIT