@/time: add minimum docs
This commit is contained in:
parent
f5649fce89
commit
e17470020b
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue