# countchocula

> Countchocula provides easy access to npm stats for a given repo on a daily basis between two periods of time. You simply pass the package name, start date, and end date. The returned result will be an array of data points that can easily be plotted on a g

Latest version **1.0.4** (published 2019-12-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install countchocula
pnpm add countchocula
yarn add countchocula
bun add countchocula
```

## 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.4 |
| Published | 2019-12-17 |
| First published | 2019-12-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.5 KB |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | lukesmetham, nparsons08 |

## Links

- npm: https://www.npmjs.com/package/countchocula
- npm.io page: https://npm.io/package/countchocula

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^0.19.0

## Recent versions

- 1.0.4 (latest) — 2019-12-17
- 1.0.3 — 2019-12-17
- 1.0.2 — 2019-12-17
- 1.0.1 — 2019-12-17

## README

# Countchocula

Countchocula provides easy access to npm stats for a given repo on a daily basis between two periods of time. You simply pass the package name, start date, and end date. The returned result will be an array of data points that can easily be plotted on a graph such as a bar chart.

This is especially useful for those who contribute to many open-source projects and want to keep an eye on the stats of their projects.

## Example

```javascript
import Stats from '../dist';

const stats = new Stats();

const streamChatJs = async () => {
	try {
		const pkg = await stats.pkg({
			start: '2019-07-20',
			end: '2019-08-20',
			pkg: 'stream-chat',
		});

		console.log(pkg);
	} catch (error) {
		console.log(error);
	}
};

streamChatJs();
```

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