# google-calendar-duration

Latest version **1.0.0** (published 2018-03-31) · ISC license · 0 weekly downloads

## Install

```sh
npm install google-calendar-duration
pnpm add google-calendar-duration
yarn add google-calendar-duration
bun add google-calendar-duration
```

Provides the command `duration`.

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-03-31 |
| First published | 2018-03-31 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 (+24 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | szopqa |

## Links

- npm: https://www.npmjs.com/package/google-calendar-duration
- Repository: https://github.com/szopqa/google-calendar-events-duration
- Homepage: https://github.com/szopqa/google-calendar-events-duration#readme
- Issues: https://github.com/szopqa/google-calendar-events-duration/issues
- npm.io page: https://npm.io/package/google-calendar-duration

## Dependencies (4)

- [ical](https://npm.io/package/ical.md) ^0.5.0
- [axios](https://npm.io/package/axios.md) ^0.18.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.5
- [moment](https://npm.io/package/moment.md) ^2.22.0

## Recent versions

- 1.0.0 (latest) — 2018-03-31

## README

Simple script used for getting duration of chosen event in Google's Calendar in given time range.
Instruction can be found in config.example.js file


HOW TO USE: 

1 ) run 
    $ npm i

2 ) create config.js file, with own download url, and file name ( see config.example.js )

3 ) Search for duration for chosen event in specified range 

    a) Edit input.js file, and run : 
        $ ./index.js

    or

    b) run:
        $ ./index.js -e <event_name> -f <from_date> -t <to_date>

        example: 
        $ ./index.js -e Praca -f 2018-03-26 -t 2018-03-29

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