# sirrobert-mixins

> A collection of mixins useful for development.

Latest version **1.1.8** (published 2016-10-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install sirrobert-mixins
pnpm add sirrobert-mixins
yarn add sirrobert-mixins
bun add sirrobert-mixins
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.8 |
| Published | 2016-10-21 |
| First published | 2016-09-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Author | Sir Robert Burbridge |
| Maintainers | sirrobert |
| Keywords | mixin, mixins |

## Links

- npm: https://www.npmjs.com/package/sirrobert-mixins
- Repository: git@bitbucket.com:sirrobert/nodejs-mixins
- npm.io page: https://npm.io/package/sirrobert-mixins

## Dependencies (2)

- [sirrobert-mixin](https://npm.io/package/sirrobert-mixin.md) ^1.3.2
- [sirrobert-test-vows](https://npm.io/package/sirrobert-test-vows.md) ^1.3.6

## Recent versions

- 1.1.8 (latest) — 2016-10-21
- 1.1.7 — 2016-10-21
- 1.1.6 — 2016-10-21
- 1.1.5 — 2016-10-21
- 1.1.4 — 2016-10-21
- 1.1.3 — 2016-10-21
- 1.1.2 — 2016-10-20
- 1.1.1 — 2016-09-30
- 1.1.0 — 2016-09-30
- 1.0.1 — 2016-09-30
- 1.0.0 — 2016-09-30

## README

Rationale
=========

I want a collection of mixins that I don't have to import individually.
This is that collection.

The `sirrobert-` prefix.
------------------------

This set of modules in the `sirrobert-` namespace is largely for personal
use.  If there's ever any reason to release it under a better name or as a
framework or toolkit, I'm happy to publish it under a new name.


Installation
============

Local installation

    npm install --save sirrobert-mixins

Global installation

    npm install --global sirrobert-mixins

Usage
=====

First require the plugin.  I like to use the `Mixin` name.  Also, this
module works well with the `sirrobert-mixin` plugin, which is a mixin
manager.

    let Mix   = require("sirrobert-mixin");
    let Mixin = require("sirrobert-mixins");

Then you can use the mixins individually.

    class MyClass extends Mix.with(Mixin.Params);

Alternately, you can load just the module you want:

    let Mix    = require("sirrobert-mixin");
    let Params = require("sirrobert-mixins").Params;

    class MyClass extends Mix.with(Params);

Mixins List
===========

Each mixin has its own readme in the same dir as the source code for it.

  * [Params](lib/Mixin/Params.md)  A mixin for managing class construction
    parameters.
  * [Hook](lib/Mixin/Hook.md)  A mixin for adding hook capabilities to a
    class.

TO DO
=====
  
  1. Add module method to load only the modules you want and return them as
     an array or something.

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