# cafe4

> Client-side applications build tool

Latest version **0.1.16** (published 2015-04-15) · 0 weekly downloads

## Install

```sh
npm install cafe4
pnpm add cafe4
yarn add cafe4
bun add cafe4
```

Provides the commands `cafe`, `telnet-cafe`.

## 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.1.16 |
| Published | 2015-04-15 |
| First published | 2012-09-30 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 21 |
| Known vulnerabilities | 0 (+4 in 3 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | E.Naumenko, A.Mostovenko, B.Larin |
| Maintainers | eugene |

## Links

- npm: https://www.npmjs.com/package/cafe4
- Repository: https://github.com/EugeneN/cafe
- Issues: https://github.com/EugeneN/cafe/issues
- npm.io page: https://npm.io/package/cafe4

## Dependencies (21)

- [mv](https://npm.io/package/mv.md) *
- [eco](https://npm.io/package/eco.md) *
- [temp](https://npm.io/package/temp.md) *
- [async](https://npm.io/package/async.md) *
- [growl](https://npm.io/package/growl.md) *
- [esprima](https://npm.io/package/esprima.md) *
- [js-yaml](https://npm.io/package/js-yaml.md) *
- [request](https://npm.io/package/request.md) *
- [chokidar](https://npm.io/package/chokidar.md) *
- [libmonad](https://npm.io/package/libmonad.md) *
- [easy-opts](https://npm.io/package/easy-opts.md) *
- [escodegen](https://npm.io/package/escodegen.md) *
- [uglify-js](https://npm.io/package/uglify-js.md) ~2.3.6
- [ansi-color](https://npm.io/package/ansi-color.md) *
- [estraverse](https://npm.io/package/estraverse.md) *
- [gimme-deps](https://npm.io/package/gimme-deps.md) >=0.0.8
- [libprotein](https://npm.io/package/libprotein.md) *
- [underscore](https://npm.io/package/underscore.md) *
- [react-tools](https://npm.io/package/react-tools.md) >=0.13.1
- [coffee-script](https://npm.io/package/coffee-script.md) *
- [wrapper-commonjs](https://npm.io/package/wrapper-commonjs.md) >=0.0.28

## Recent versions

- 0.1.16 (latest) — 2015-04-15
- 0.1.14 (stable) — 2014-06-20
- 0.1.15 — 2015-03-26
- 0.1.13 — 2014-05-23
- 0.1.12 — 2014-03-06
- 0.1.11 — 2014-02-27
- 0.1.9 — 2014-02-10
- 0.1.8 — 2014-02-10
- 0.1.7 — 2014-02-10
- 0.1.6 — 2013-10-22
- 0.1.5 — 2013-08-30
- 0.1.4 — 2013-07-25
- 0.1.3 — 2013-07-25
- 0.1.2 — 2013-07-24
- 0.1.1 — 2013-07-24
- … 18 more at https://npm.io/package/cafe4/versions

## README

Cafe is a build tool for client-side applications aiming to be language/module system/architecture agnostic and flexible. Tries hard to be modular and extensible by itself too.

Current version (cafe4) is a prototype and is written in Coffeescript in functional and asynchronous way (mostly functional and mostly asynchronous :-).

#Installation

    npm install -g cafe4

#Usage

First init a cafe project with

    cafe init

This would create you template recipe file, where you can describe packages your app is using. Working recipe looks something like this:

```yaml
abstract: {api_version: 5}

modules:
    - module1: modules/module1
    - jquery: [jquery.1.8.js, plainjs]
    - module2: [modules/module2, [jquery]]
    - my_coffee_module: [my_coffee_file.coffee]

bundles:
    bundle1:
        modules:
            - jquery
            - module1
            - module2
            - my_coffee_module

    bundle2:
        modules:
            - jquery
            - module1
            - my_coffee_module
```

To compile your app run

    cafe menu build

For more details look at [getting started page](https://github.com/EugeneN/cafe/wiki/Cafe-get-started).

#Contributing
Don't forget to check that all tests are passing before commit (grunt nodeunit)
* clone this repo git clone https://github.com/EugeneN/cafe.git
* cd cafe
* grunt install | grunt coffee
* grunt build

#Changelog

0.0.90
* yaml recipe reader
* advanced recipe parsing logic
** aliases
** different formats for modules
* caching logic optimization. (2 times faster build process then in previous versions)

* Added growl notifications. (can be disabled by option --nogrowl).

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