# grunt-coffeepot

> A drop-in replacement for the default Grunt server. It dynamically serves coffee files as js

Latest version **0.0.3-2** (published 2013-03-03) · 0 weekly downloads

## Install

```sh
npm install grunt-coffeepot
pnpm add grunt-coffeepot
yarn add grunt-coffeepot
bun add grunt-coffeepot
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3-2 |
| Published | 2013-03-03 |
| First published | 2012-08-03 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.4.11 |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Kevin Rockwood |
| Maintainers | rockwood |
| Keywords | coffee |

## Links

- npm: https://www.npmjs.com/package/grunt-coffeepot
- Repository: https://github.com/rockwood/grunt-coffeepot
- npm.io page: https://npm.io/package/grunt-coffeepot

## Dependencies (3)

- [grunt](https://npm.io/package/grunt.md) >=0.3
- [connect](https://npm.io/package/connect.md) >=2.0
- [coffee-script](https://npm.io/package/coffee-script.md) >=1.3.0

## Recent versions

- 0.0.3-2 (latest) — 2013-03-03
- 0.0.3-1 — 2012-08-28
- 0.0.3 — 2012-08-15
- 0.0.2 — 2012-08-03
- 0.0.1 — 2012-08-03

## README

A drop-in replacement for the default Grunt server. It will serve up coffeescript files as javascript. So if you have a file in app/init.coffee, hitting http://localhost:8000/app/init.js will serve up the compiled version of that file.

Setup
=======

You'll need to install grunt-coffeepot first:

    npm install grunt-coffeepot

Then modify your grunt.js file by adding the following line:

    grunt.loadNpmTasks('grunt-coffeepot');

Then add some configuration for the plugin like so:

    grunt.initConfig({
      ...
      coffeepot: {
        port: 8000
        base: ./app
      },
      ...
    });

`port` defaults to `8000` and `base` defaults to the grunt.js directory

To create a continuously running server use:

    grunt.registerTask('serve', 'coffeepot watch');

---
_Source: https://npm.io/package/grunt-coffeepot · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
