Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iwharris/timer
no-nonsense nodejs timer
https://github.com/iwharris/timer
Last synced: 1 day ago
JSON representation
no-nonsense nodejs timer
- Host: GitHub
- URL: https://github.com/iwharris/timer
- Owner: iwharris
- License: mit
- Created: 2019-11-29T05:20:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-18T20:16:18.000Z (over 1 year ago)
- Last Synced: 2024-11-08T05:48:36.460Z (10 days ago)
- Language: TypeScript
- Size: 736 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# timer
A no-nonsense nodejs timer[![npm version](https://badge.fury.io/js/%40iwharris%2Ftimer.svg)](https://badge.fury.io/js/%40iwharris%2Ftimer)
## Installation
```bash
npm install @iwharris/timer
```## Usage
```javascript
const Timer = require('@iwharris/timer');const t = new Timer();
t.elapsedMilliseconds();
// 3421
```## Development
```bash
git clone [email protected]:iwharris/timer.git
cd timer
npm install
```### Testing
```bash
npm test
```### Compiling Typescript
```bash
npm build
```