@/time: add minimum docs

This commit is contained in:
Jorge Bucaran 2019-05-11 18:05:39 +09:00
parent f5649fce89
commit e17470020b
No known key found for this signature in database
GPG Key ID: E54BA3C0E646DB30
2 changed files with 15 additions and 3 deletions

View File

@ -1,13 +1,23 @@
# @hyperapp/time
<!-- [![Travis CI](https://img.shields.io/travis/jorgebucaran/hyperapp/master.svg)](https://travis-ci.org/jorgebucaran/hyperapp)
[![npm](https://img.shields.io/npm/v/@hyperapp/time.svg)](https://www.npmjs.org/package/@hyperapp/time)
[![Slack](https://hyperappjs.herokuapp.com/badge.svg)](https://hyperappjs.herokuapp.com "Join us") -->
Time effects and subscriptions for Hyperapp.
## Installation
<pre>
```
npm i @hyperapp/time
</pre>
```
## Usage
```js
import { interval, timeout } from "@hyperapp/time"
```
## License
[MIT](../../LICENSE.md)

View File

@ -5,7 +5,7 @@
"main": "dist/hyperapptime.js",
"module": "src/index.js",
"license": "MIT",
"repository": "jorgebucaran/hyperapp/packages/time",
"repository": "https://github.com/jorgebucaran/hyperapp/tree/master/lib/time",
"files": [
"src",
"dist"
@ -13,6 +13,8 @@
"author": "Jorge Bucaran",
"keywords": [
"hyperapp",
"subscriptions",
"effects",
"time"
]
}