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

https://github.com/idleberg/bun-plugin-coffeescript

Use CoffeeScript with Bun, old meets new
https://github.com/idleberg/bun-plugin-coffeescript

bun-plugin coffeescript cson

Last synced: 11 days ago
JSON representation

Use CoffeeScript with Bun, old meets new

Awesome Lists containing this project

README

          

# bun-plugin-coffeescript

> Use CoffeeScript with Bun, old meets new.

[![License](https://img.shields.io/github/license/idleberg/bun-plugin-coffeescript?color=blue&style=for-the-badge)](https://github.com/idleberg/bun-plugin-coffeescript/blob/main/LICENSE)
[![Version: npm](https://img.shields.io/npm/v/bun-plugin-coffeescript?style=for-the-badge)](https://www.npmjs.org/package/bun-plugin-coffeescript)
![GitHub branch check runs](https://img.shields.io/github/check-runs/idleberg/bun-plugin-coffeescript/main?style=for-the-badge)

This plugin provides support for both CoffeeScript and CSON to your Bun projects. It is roughly modelled after the [esbuild-coffeescript](https://www.npmjs.com/package/esbuild-coffeescript) and is still in its infancy. Your feedback or contribution is welcome!

## Installation đŸ’ŋ

```shell
bun install bun-plugin-coffeescript
```

## Usage 🚀

```typescript
import CoffeeScript from "bun-plugin-coffeescript";

Bun.build({
entrypoints: ["app.coffee"],
outdir: "dist",
target: "browser",
plugins: [
CoffeeScript(/* compiler options */),
],
});
```

## License ÂŠī¸

This work is licensed under [The MIT License](LICENSE).