# node-calendarindex

> Node.js library for CalendarIndex Holiday API

Latest version **1.0.0** (published 2018-10-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-calendarindex
pnpm add node-calendarindex
yarn add node-calendarindex
bun add node-calendarindex
```

## 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-10-17 |
| First published | 2018-10-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | CalendarIndex Team |
| Maintainers | jasoncold |
| Keywords | holiday, holidays, calendarindex, dates, calendar |

## Links

- npm: https://www.npmjs.com/package/node-calendarindex
- Repository: https://github.com/calendarindex/node-calendarindex
- Homepage: https://www.calendarindex.com
- Issues: https://www.calendarindex.com
- npm.io page: https://npm.io/package/node-calendarindex

## Dependencies (1)

- [request](https://npm.io/package/request.md) ^2.88.0

## Alternatives

- [@js-joda/timezone](https://npm.io/package/@js-joda/timezone.md) — 383.4K weekly downloads
- [chartjs-adapter-moment](https://npm.io/package/chartjs-adapter-moment.md) — 210.8K weekly downloads
- [strftime](https://npm.io/package/strftime.md) — 171.2K weekly downloads
- [vue-flatpickr-component](https://npm.io/package/vue-flatpickr-component.md) — 115.8K weekly downloads
- [timepicker](https://npm.io/package/timepicker.md) — 51.0K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2018-10-17

## README

# node-calendarindex
Node.js library for [CalendarIndex API](https://www.calendarindex.com)

## Installation

```shell
npm install --save node-calendarindex
```

## Usage

```javascript

// Load the package
var CalendarIndex = require('node-calendarindex');

// Initlize with an API key
var clapi = new CalendarIndex('_YOUR_API_KEY_');

var parameters = {
  // Required
  country: 'US',
  year:    2019,
  // Optional
  // state: CA,
  // region: LA
};

clapi.holidays(parameters, function (data) {
  console.log(data)
  // Insert awesome code here...
});
```

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