Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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