# countdown-stream

> Create a countdown to anything

Latest version **0.0.3** (published 2021-01-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install countdown-stream
pnpm add countdown-stream
yarn add countdown-stream
bun add countdown-stream
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2021-01-06 |
| First published | 2021-01-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 99.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 2 |
| Author | adriabama06 |
| Maintainers | adriabama06 |
| Keywords | stream, obs, timer, events |

## Links

- npm: https://www.npmjs.com/package/countdown-stream
- Repository: https://github.com/adriabama06/countdown-stream-nodejs
- Issues: https://github.com/adriabama06/countdown-stream-nodejs/issues
- npm.io page: https://npm.io/package/countdown-stream

## Dependencies (1)

- [typescript](https://npm.io/package/typescript.md) ^4.1.3

## Alternatives

- [byte-size](https://npm.io/package/byte-size.md) — 2.1M weekly downloads
- [speed-limiter](https://npm.io/package/speed-limiter.md) — 16.0K weekly downloads
- [@powersync/node](https://npm.io/package/@powersync/node.md) — 10.9K weekly downloads
- [@ledgerhq/coin-cardano](https://npm.io/package/@ledgerhq/coin-cardano.md) — 1.0K weekly downloads
- [@jayesol/jayeson.lib.streamfinder](https://npm.io/package/@jayesol/jayeson.lib.streamfinder.md) — 1.0K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2021-01-06
- 0.0.2 — 2021-01-06
- 0.0.1 — 2021-01-06

## README

# countdown-stream for nodejs

# how install ?

Only in one command: `npm i --save countdown-stream`

# how can use it

1 - Make \*.js file.

2 - Put this example code in the file:
```js
// example variable
const timer = require('countdown-stream');
const path = require('path');
//                  time          fileoutput                 startmessage (Optional)      endmessage (Optional)
new timer.createFile(10, path.join(__dirname, 'time.txt'), 'This is the start message', 'This is the en message')
.on('start', async (time, startmessage) => {
    console.log(startmessage);
})
.on('time', async (time) => {
    console.log(`Time: ${time}`);
})
.on('end', async (endmessage) => {
    console.log(endmessage);
});
```
 3 - run the code and get the output file.

 # How can use this code in [OBS studio](https://obsproject.com/)

 Making tutorial :D

---
_Source: https://npm.io/package/countdown-stream · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
