# recipe

> Web Component Recipe Helpers

Latest version **0.1.2** (published 2013-10-08) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2013-10-08 |
| First published | 2012-08-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Damon Oehlman |
| Maintainers | damonoehlman |
| Keywords | query, match, filter |

## Links

- npm: https://www.npmjs.com/package/recipe
- Repository: https://bitbucket.org/DamonOehlman/recipe
- Issues: https://bitbucket.org/DamonOehlman/recipe/issues
- npm.io page: https://npm.io/package/recipe

## Dependencies (1)

- [formatter](https://npm.io/package/formatter.md) 0.1.x

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 0.1.2 (latest) — 2013-10-08
- 0.1.1 — 2012-12-15
- 0.1.0 — 2012-08-14
- 0.0.1 — 2012-08-07

## README

# recipe

This library provides a set of Javascript helpers for interpreting textual recipes which define the requirements of a web resource.  Recipe is not designed to function as a build-tool in it's own right, this is left to tools such as [bake-js](/DamonOehlman/bake-js) and others.

<a href="http://travis-ci.org/#!/buildjs/recipe"><img src="https://secure.travis-ci.org/buildjs/recipe.png" alt="Build Status"></a>

Any standalone that can be accessed via HTTP can be described in a compo recipe.  For example, the following is a recipe that describes [keymaster](/madrobby/keymaster) using a [getit custom url scheme](/DamonOehlman/getit#custom-url-schemes):

```
# dsc: A simple micro-library for defining and dispatching keyboard shortcuts.
# url: https://github.com/madrobby/keymaster

[core]
js <= github://madrobby/keymaster/keymaster.js
```

## What about Web Components?

There is a lot of talk going on around [Web Components](http://dvcs.w3.org/hg/webcomponents/raw-file/tip/explainer/index.html) at the moment, but this project isn't designed with Web Components in mind and so the terminology has been avoided.

What recipe is though is a:

- constistent, reusable way of definining reusable resources on the web

While we are avoiding term component, many of the principles of component design apply if you are looking to create useful, re-usable web resources.  In particular good, re-usable web resources should be:

- __FOCUSED__, which usually means __SMALL__.  Have a well defined purpose and scope, and generally small defined surface area makes a component both easy to understand and also easy to test.  This should be encouraged.

- __COMPOSABLE__.  The ability to take the component and use it in ways not envisaged (but still "correct") by the component author demonstrates good component design.

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