# tallysticks

> Tallysticks

Latest version **1.0.2** (published 2016-06-13) · 0 weekly downloads

## Install

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

## 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.2 |
| Published | 2016-06-13 |
| First published | 2016-06-13 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 (+8 in 3 direct dependencies) |
| Install scripts | no |
| Author | Edward Ruchevits |
| Maintainers | ruchevits |

## Links

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

## Dependencies (5)

- [mime](https://npm.io/package/mime.md) ^1.3.4
- [lodash](https://npm.io/package/lodash.md) ^4.13.1
- [request](https://npm.io/package/request.md) ^2.72.0
- [follow-redirects](https://npm.io/package/follow-redirects.md) ^0.2.0
- [https-proxy-agent](https://npm.io/package/https-proxy-agent.md) ^1.0.0

## Recent versions

- 1.0.2 (latest) — 2016-06-13
- 1.0.0 — 2016-06-13

## README

# Tallysticks NodeJS client

	npm install --save tallysticks

## Usage

### Initialization

```js
var Tallysticks = require('tallysticks')

var tallysticks = new Tallysticks({
	debug: true,
	protocol: "http",
	host: "localhost",
	port: "3001",
	timeout: 5000,
	headers: {
		"user-agent": "Tallysticks DAPP"
	}
})
```

### Authentication

```js
tallysticks.authenticate({
	type: 'token',
	token: 'secret'
})
```

### Example requests

```js
tallysticks.organizations.getAll({
	kind: 'Company'
}, (err, res) => {
	if (err) console.log(err.code)
	else console.log(res)
})

tallysticks.organizations.get({
	id: '1'
}, (err, res) => {
	if (err) console.log(err.code)
	else console.log(res)
})
```

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