# base-runtimes

> Plugin for adding composer-runtimes to base applications, complementing the base-tasks and base-generators plugins.

Latest version **0.2.0** (published 2016-07-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install base-runtimes
pnpm add base-runtimes
yarn add base-runtimes
bun add base-runtimes
```

## 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.2.0 |
| Published | 2016-07-02 |
| First published | 2016-01-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 6 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Jon Schlinkert |
| Maintainers | jonschlinkert |
| Keywords | api, app, application, base, baseplugin, building-blocks, composer, create, diff, end, finish, framework, generate, generator, plugin, plugins, runtimes, start, task, time, tool, toolkit, tools |

## Links

- npm: https://www.npmjs.com/package/base-runtimes
- Repository: https://github.com/node-base/base-runtimes
- Issues: https://github.com/node-base/base-runtimes/issues
- npm.io page: https://npm.io/package/base-runtimes

## Dependencies (6)

- [log-utils](https://npm.io/package/log-utils.md) ^0.1.4
- [time-diff](https://npm.io/package/time-diff.md) ^0.3.1
- [lazy-cache](https://npm.io/package/lazy-cache.md) ^2.0.1
- [micromatch](https://npm.io/package/micromatch.md) ^2.3.10
- [is-valid-app](https://npm.io/package/is-valid-app.md) ^0.2.0
- [extend-shallow](https://npm.io/package/extend-shallow.md) ^2.0.1

## Alternatives

- [@js-joda/timezone](https://npm.io/package/@js-joda/timezone.md) — 383.4K weekly downloads
- [chartjs-adapter-moment](https://npm.io/package/chartjs-adapter-moment.md) — 210.8K weekly downloads
- [strftime](https://npm.io/package/strftime.md) — 171.2K weekly downloads
- [vue-flatpickr-component](https://npm.io/package/vue-flatpickr-component.md) — 115.8K weekly downloads
- [timepicker](https://npm.io/package/timepicker.md) — 51.0K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2016-07-02
- 0.1.11 — 2016-05-16
- 0.1.10 — 2016-05-03
- 0.1.9 — 2016-04-27
- 0.1.8 — 2016-04-27
- 0.1.7 — 2016-04-21
- 0.1.6 — 2016-04-20
- 0.1.5 — 2016-03-17
- 0.1.4 — 2016-02-12
- 0.1.3 — 2016-02-06
- 0.1.2 — 2016-01-29
- 0.1.1 — 2016-01-27
- 0.1.0 — 2016-01-27

## README

# base-runtimes [![NPM version](https://img.shields.io/npm/v/base-runtimes.svg?style=flat)](https://www.npmjs.com/package/base-runtimes) [![NPM downloads](https://img.shields.io/npm/dm/base-runtimes.svg?style=flat)](https://npmjs.org/package/base-runtimes) [![Build Status](https://img.shields.io/travis/node-base/base-runtimes.svg?style=flat)](https://travis-ci.org/node-base/base-runtimes)

Plugin for adding composer-runtimes to base applications, complementing the base-tasks and base-generators plugins.

You might also be interested in [base-task](https://github.com/node-base/base-task).

## TOC

- [Install](#install)
- [Usage](#usage)
- [Related projects](#related-projects)
- [Contributing](#contributing)
- [Building docs](#building-docs)
- [Running tests](#running-tests)
- [Author](#author)
- [License](#license)

_(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc](https://github.com/jonschlinkert/markdown-toc))_

## Install

Install with [npm](https://www.npmjs.com/):

```sh
$ npm install --save base-runtimes
```

This plugin is a basic wrapper for [composer-runtimes](https://github.com/doowb/composer-runtimes) and [composer](https://github.com/doowb/composer), see those libraries to learn more about available features and options, or to report issues related to runtimes colors or formatting.

## Usage

```js
var runtimes = require('base-runtimes');
var task = require('base-tasks');
var Base = require('base');
var app = new Base();

// register plugins
app.use(task());
app.use(runtimes());

app.task('default', function(cb) {
  cb();
});

// run the `default` task
app.build(function(err) {
  if (err) throw err;
});
```

With `runtimes` registed, you should see something like the following when `.build` is called:

<img width="363" alt="output generated after adding base-runtimes plugin for composer-runtimes" src="https://cloud.githubusercontent.com/assets/383994/12613017/d2efca0c-c4c4-11e5-90ae-e140227cfab6.png">

## Related projects

You might also be interested in these projects:

* [base](https://www.npmjs.com/package/base): base is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting… [more](https://github.com/node-base/base) | [homepage](https://github.com/node-base/base "base is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting with a handful of common methods, like `set`, `get`, `del` and `use`.")
* [base-fs](https://www.npmjs.com/package/base-fs): base-methods plugin that adds vinyl-fs methods to your 'base' application for working with the file… [more](https://github.com/node-base/base-fs) | [homepage](https://github.com/node-base/base-fs "base-methods plugin that adds vinyl-fs methods to your 'base' application for working with the file system, like src, dest, copy and symlink.")
* [base-generators](https://www.npmjs.com/package/base-generators): Adds project-generator support to your `base` application. | [homepage](https://github.com/node-base/base-generators "Adds project-generator support to your `base` application.")
* [base-pipeline](https://www.npmjs.com/package/base-pipeline): base-methods plugin that adds pipeline and plugin methods for dynamically composing streaming plugin pipelines. | [homepage](https://github.com/node-base/base-pipeline "base-methods plugin that adds pipeline and plugin methods for dynamically composing streaming plugin pipelines.")
* [base-plugins](https://www.npmjs.com/package/base-plugins): Upgrade's plugin support in base applications to allow plugins to be called any time after… [more](https://github.com/node-base/base-plugins) | [homepage](https://github.com/node-base/base-plugins "Upgrade's plugin support in base applications to allow plugins to be called any time after init.")
* [base-task](https://www.npmjs.com/package/base-task): base plugin that provides a very thin wrapper around [https://github.com/doowb/composer](https://github.com/doowb/composer) for adding task methods to… [more](https://github.com/node-base/base-task) | [homepage](https://github.com/node-base/base-task "base plugin that provides a very thin wrapper around <https://github.com/doowb/composer> for adding task methods to your application.")

## Contributing

This document was generated by [verb-readme-generator](https://github.com/verbose/verb-readme-generator) (a [verb](https://github.com/verbose/verb) generator), please don't edit directly. Any changes to the readme must be made in [.verb.md](.verb.md). See [Building Docs](#building-docs).

Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).

Or visit the [verb-readme-generator](https://github.com/verbose/verb-readme-generator) project to submit bug reports or pull requests for the readme layout template.

## Building docs

_(This document was generated by [verb-readme-generator](https://github.com/verbose/verb-readme-generator) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_

Generate readme and API documentation with [verb](https://github.com/verbose/verb):

```sh
$ npm install -g verb verb-readme-generator && verb
```

## Running tests

Install dev dependencies:

```sh
$ npm install -d && npm test
```

## Author

**Jon Schlinkert**

* [github/jonschlinkert](https://github.com/jonschlinkert)
* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)

## License

Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).
Released under the [MIT license](https://github.com/node-base/base-runtimes/blob/master/LICENSE).

***

_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on July 02, 2016._

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