# nigiri

> Flexible hierarchical rendering engine.

Latest version **0.2.2** (published 2014-02-18) · MIT license · 0 weekly downloads

## Install

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

## 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.2 |
| Published | 2014-02-18 |
| First published | 2014-02-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | James R. White |
| Maintainers | llamasantos |
| Keywords | isomorphic, rendering, browserify |

## Links

- npm: https://www.npmjs.com/package/nigiri
- Repository: https://github.com/LlamaSantos/nigiri
- Issues: https://github.com/LlamaSantos/nigiri/issues
- npm.io page: https://npm.io/package/nigiri

## Dependencies (2)

- [async](https://npm.io/package/async.md) *
- [eventemitter2](https://npm.io/package/eventemitter2.md) *

## Recent versions

- 0.2.2 (latest) — 2014-02-18
- 0.2.1 — 2014-02-18
- 0.1.1 — 2014-02-12
- 0.1.0 — 2014-02-12

## README

nigiri
======

[![Build Status](https://travis-ci.org/LlamaSantos/nigiri.png?branch=master)](https://travis-ci.org/LlamaSantos/nigiri)

Flexible hierarchical rendering engine.

##Usage

```JavaScript
var nigiri = require('nigiri')({ delimeter : '.' });

nigiri.on('feature1.render', function (){
	// React to the rendering
});

nigiri.define('feature1', [/*dependencies here*/], 
	function (data, children, done){
		done(err, "rendered stuff goes here :P");
	}
);

nigiri.define('feature2', ['feature1'], 
	function (data, children, done){
		done(err, "Render Stuff and use stuff from feature1.  Like " + children.feature1);
	}
);

nigiri.render('feature1', {}, function (err, str){
	// Set HTML with str
});
```



##License
The MIT License (MIT)

Copyright (c) 2014 James R. White

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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