# menhera-utils

> ``` $ yarn add menhera menhera-utils ```

Latest version **0.0.1** (published 2018-05-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install menhera-utils
pnpm add menhera-utils
yarn add menhera-utils
bun add menhera-utils
```

## 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.0.1 |
| Published | 2018-05-04 |
| First published | 2018-05-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 1.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | vaiii |

## Links

- npm: https://www.npmjs.com/package/menhera-utils
- npm.io page: https://npm.io/package/menhera-utils

## Dependencies (2)

- [menhera](https://npm.io/package/menhera.md) ^0.7.2
- [menhera-cli](https://npm.io/package/menhera-cli.md) ^0.3.1-rc4

## Recent versions

- 0.0.1 (latest) — 2018-05-04

## README

## Install

```
$ yarn add menhera menhera-utils
```

## Example

```js
import Mhr, { $core } from "menhera";
import { data, methods, lifeCycle } from "../src";

let a = {
  _hooks: {
    data
  },
  data: {
    foo: 1,
    bar: {
      lol: 2
    }
  }
};
Mhr.$use(a);
console.log("a", a);

let b = {
  _hooks: {
    methods
  },
  methods: {
    foo: () => {},
    bar: () => {}
  }
};

Mhr.$use(b);
console.log("b", b);

let c = {
  _hooks: {
    lifeCycle
  },
  start() {
    console.log("c", this);
  },
  lifeCycle: {
    run: ["start"]
  }
};

Mhr.$use(c);
```

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