# mako-myth

> A mako plugin for compiling CSS using myth

Latest version **0.5.0** (published 2016-01-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install mako-myth
pnpm add mako-myth
yarn add mako-myth
bun add mako-myth
```

## 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.5.0 |
| Published | 2016-01-25 |
| First published | 2015-11-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | dominicbarnes |

## Links

- npm: https://www.npmjs.com/package/mako-myth
- Repository: https://github.com/makojs/myth
- Homepage: https://github.com/makojs/myth#readme
- Issues: https://github.com/makojs/myth/issues
- npm.io page: https://npm.io/package/mako-myth

## Dependencies (2)

- [myth](https://npm.io/package/myth.md) ^1.5.0
- [debug](https://npm.io/package/debug.md) ^2.2.0

## Recent versions

- 0.5.0 (latest) — 2016-01-25
- 0.4.0 — 2016-01-18
- 0.3.0 — 2015-12-23
- 0.2.1 — 2015-12-14
- 0.2.0 — 2015-12-08
- 0.1.0 — 2015-12-03
- 0.0.1 — 2015-11-07

## README

# mako-myth

> A mako plugin that compiles CSS code using [myth](http://www.myth.io/).

[![npm version](https://img.shields.io/npm/v/mako-myth.svg)](https://www.npmjs.com/package/mako-myth)
[![npm dependencies](https://img.shields.io/david/makojs/myth.svg)](https://david-dm.org/makojs/myth)
[![npm dev dependencies](https://img.shields.io/david/dev/makojs/myth.svg)](https://david-dm.org/makojs/myth#info=devDependencies)
[![build status](https://img.shields.io/travis/makojs/myth.svg)](https://travis-ci.org/makojs/myth)

## Usage

```js
var mako = require('mako');
var text = require('mako-text');
var myth = require('mako-myth');
var css = require('mako-css');

mako()
  // read from disk
  .use(text('css'))
  // compile css with myth
  .use(myth())
  // assemble npm modules
  .use(css())
  // run the builder
  .build('./index.css')
  .then(function () {
    // done!
  });
```

## API

### myth()

This plugin does not currently expose any configuration, this will likely change soon.

## Dependencies

This requires some sort of read plugin that populates `file.contents` with a string.

## Effects

For each file processed, it will compile `file.contents` from input myth CSS into vanilla CSS.
Currently, this plugin is designed to be compatible with [mako-css](https://github.com/makojs/css),
but interoperability will come in the future.

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