# reporpoise

> A declarative web framework where you call the shots.

Latest version **0.0.1** (published 2021-02-02) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2021-02-02 |
| First published | 2021-02-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 86.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Raghav Misra |
| Maintainers | raghavm |

## Links

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

## Recent versions

- 0.0.1 (latest) — 2021-02-02

## README

# Reporpoise

## HTML:

```html
<div id="app">
    <h1>The Classic Counter :D</h1>

    <input r r-model="count" />

    <button r @click="increaseCount">+</button>
    <button r @click="decreaseCount">-</button>
</div>
```

## JavaScript:

```js
import { Model, query } from "reporpoise";

// Initialize data store:
new Model({
    data: {
        count: 0
    },
    methods: {
        increaseCount(data, e) { data.count++; },
        decreaseCount(data, e) { data.count--; }
    }
}).mount(query("#app"));
```

## What is this?

The HTML-looking portion of the above sample isn't some custom JSX-type expression. Instead, it goes directly in your *.html file.

The JavaScript is really just plain JavaScript. No need to transpile any JSX expressions or single-file components, just your standard web languages.

## How it works:

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