1.0.6 • Published 1 year ago

indra-timer v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

indra-timer

indra-timer is a simple npm package for creating and managing timers in JavaScript applications.

Installation

You can install indra-timer via npm:

npm install indra-timer

Usage

To use indra-timer in your project, follow these steps:

1. Import the Timer class from indra-timer:

```javascript
const Timer = require('indra-timer');
```

2. Create a new instance of the Timer class:

```javascript
const timer = new Timer();
```

3. Use the provided methods to interact with the timer:

pause(): Pause the timer.
resume(): Resume the timer.
stop(): Stop the timer.
```javascript
timer.pause(); // Pause the timer
timer.resume(); // Resume the timer
timer.stop(); // Stop the timer
```

License

This project is licensed under the MIT License - see the LICENSE file for details.

Check out the Demo

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago