# nya

> Node Yet Another Framework

Latest version **0.0.3** (published 2015-01-09) · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2015-01-09 |
| First published | 2014-12-11 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Maintainers | rabbiabram |
| Keywords | nya, FRP, reactive, web, streams |

## Links

- npm: https://www.npmjs.com/package/nya
- Repository: https://github.com/NYAFoundation/NYA.js
- Issues: https://github.com/NYAFoundation/NYA.js/issues
- npm.io page: https://npm.io/package/nya

## Dependencies (1)

- [kefir](https://npm.io/package/kefir.md) ^0.4.1

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2015-01-09
- 0.0.3-RC — 2015-01-01
- 0.0.2 — 2015-01-01
- 0.0.2-alpha-3 — 2014-12-12
- 0.0.2-alpha-2 — 2014-12-12
- 0.0.2-alpha-1 — 2014-12-11
- 0.0.2-alpha — 2014-12-11
- 0.0.1 — 2014-12-11

## README

# NYA Framework
[![Dependency Status](https://david-dm.org/NYAFoundation/NYA.js.svg)](https://david-dm.org/NYAFoundation/NYA.js.svg)
[![devDependency Status](https://david-dm.org/NYAFoundation/NYA.js/dev-status.svg)](https://david-dm.org/NYAFoundation/NYA.js/dev-status.svg)
[![Code Climate](https://codeclimate.com/github/NYAFoundation/NYA.js/badges/gpa.svg)](https://codeclimate.com/github/NYAFoundation/NYA.js)
[![Build Status](https://travis-ci.org/NYAFoundation/NYA.js.svg?branch=v0.0.3)](https://travis-ci.org/NYAFoundation/NYA.js)

NYA - is a fullstack FRP framework for racket web based on kefir. No models, no controllers, no views - only streams and events.

## Instalation

```bash
  npm install nya
```

## Basic example

```javascript
//Import nya.js
var nya = require('nya');

var requests = new nya.RequestStream('http');

var routes = new nya.RouteStream(requests); //automatic pipe binding

var index = routes.onGet().onUrl('/');

var responses = nya.ResponseStream(index); //automatic pipe binding

responses.onValue(function(request) {
    request.res.writeHead(200, {
        'Content-Type' : 'text/plain',
    });
    request.res.write('NYA!');
    request.res.end();  
});
```
## Links

- [Wiki](https://github.com/NYAFoundation/NYA.js/wiki) 
- [NPM](https://www.npmjs.com/package/nya)

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