https://github.com/pizzaql/hours-helper
PizzaQL hours helper, written in Rust and compiled to WASM.
https://github.com/pizzaql/hours-helper
cargo date experimental hours hours-helper npm package pizzaql time wasm wasm-bindgen wasm-pack webassembly
Last synced: 7 months ago
JSON representation
PizzaQL hours helper, written in Rust and compiled to WASM.
- Host: GitHub
- URL: https://github.com/pizzaql/hours-helper
- Owner: pizzaql
- License: mit
- Created: 2019-07-12T16:17:37.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-04T20:14:36.000Z (about 6 years ago)
- Last Synced: 2025-03-17T08:48:11.814Z (7 months ago)
- Topics: cargo, date, experimental, hours, hours-helper, npm, package, pizzaql, time, wasm, wasm-bindgen, wasm-pack, webassembly
- Language: Rust
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# Hours Helper WASM
> PizzaQL hours helper written in Rust and compiled to WASM.
[](https://travis-ci.org/pizzaql/hours-helper)
## Install
```
$ npm install @pizzaql/hours-helper
```## Usage
```js
import * as wasm from '@pizzaql/hours-helper';wasm.get_time(3, true);
```## Build
### Prerequisites
- [Rust](https://www.rust-lang.org/tools/install)
- [wasm-pack](https://rustwasm.github.io/wasm-pack/installer/)To build a npm package run:
```
$ wasm-pack build
```## License
MIT