# hyperframework

> Fast and light frontend framework, backed by hyperHTML

Latest version **1.0.0** (published 2017-04-28) · MIT license · 0 weekly downloads

## Install

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

## 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.0.0 |
| Published | 2017-04-28 |
| First published | 2017-04-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Josh Gillies |
| Maintainers | joshgillies |
| Keywords | dom, hyper, html, template, component, fast, performance, diff, hyperhtml, universal |

## Links

- npm: https://www.npmjs.com/package/hyperframework
- Repository: https://github.com/joshgillies/hyperframework
- Homepage: https://github.com/joshgillies/hyperframework#readme
- Issues: https://github.com/joshgillies/hyperframework/issues
- npm.io page: https://npm.io/package/hyperframework

## Dependencies (2)

- [viperhtml](https://npm.io/package/viperhtml.md) ^0.5.4
- [hypercomponent](https://npm.io/package/hypercomponent.md) ^2.0.1

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-04-28

## README

# hyperframework

[![Build Status][0]][1]
[![Standard - JavaScript Style Guide][2]][3]

> Fast and light frontend framework, backed by [hyperHTML][hyper] :zap:

## Usage

### Basic

```js
const component = require('hyperframework/component')
const mount = require('hyperframework')

const Button = component((html, text) => html`
  <button>
    ${text}
  </button>
`)

const App = component((html, data) => html`
  <section>${
    data.map(Button)
  }</section>
`)

const app = mount(App, document.body)
app(['Hello World', 'Hello There'])

setTimeout(app, 1000, ['Hello World', 'Hello There', 'Hello Again'])
```

## License

MIT

[0]: https://travis-ci.org/joshgillies/hyperframework.svg?branch=master
[1]: https://travis-ci.org/joshgillies/hyperframework
[2]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
[3]: http://standardjs.com/
[hyper]: https://github.com/WebReflection/hyperHTML

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