# twax

> a module for taxonomizing twitter users

Latest version **0.1.0** (published 2016-10-25) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2016-10-25 |
| First published | 2016-10-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | quavmo |

## Links

- npm: https://www.npmjs.com/package/twax
- Repository: https://github.com/quavmo/twax
- Homepage: https://github.com/quavmo/twax#readme
- Issues: https://github.com/quavmo/twax/issues
- npm.io page: https://npm.io/package/twax

## Dependencies (4)

- [twit](https://npm.io/package/twit.md) ^2.2.5
- [ramda](https://npm.io/package/ramda.md) ^0.22.1
- [bluebird](https://npm.io/package/bluebird.md) ^3.4.6
- [watson-developer-cloud](https://npm.io/package/watson-developer-cloud.md) ^2.4.6

## Recent versions

- 0.1.0 (latest) — 2016-10-25
- 0.0.5 — 2016-10-12
- 0.0.3 — 2016-10-12
- 0.0.2 — 2016-10-12
- 0.0.1 — 2016-10-12

## README

# twax 

A module for classifying twitter users by their last 100 tweets.

## Use
You'll have to set the follow environment variables on `process.env`:

`ALCHEMY_API_KEY, TWITTER_CONSUMER_KEY, TWITTER_CONSUMER_SECRET, TWITTER_ACCESS_TOKEN, TWITTER_ACCESS_TOKEN_SECRET`

```JavaScript
import Twax from 'twax';
twax = new Twax();
twax.taxonomize('quavmo').then(console.log)
```

Should return:
```JavaScript
[ '/art and entertainment/music',
  '/society/unrest and war',
  '/business and industrial' ]
```

## Installation

Download node at [nodejs.org](http://nodejs.org) and install it, if you haven't already.

```sh
npm install twax --save
```


## Tests

```sh
npm install
npm test
```
```

> twax@0.0.1 test /Users/gavin/Workspace/twoops
> mocha
  taxonomize
    ✓ classifies a twitter handle by the taxonomies of its post
  1 passing (97ms)

```

## Dependencies

- [bluebird](https://github.com/petkaantonov/bluebird): Full featured Promises/A+ implementation with exceptionally good performance
- [ramda](https://github.com/ramda/ramda): A practical functional library for JavaScript programmers.
- [twit](https://github.com/ttezel/twit): Twitter API client for node (REST &amp; Streaming)
- [watson-developer-cloud](https://github.com/watson-developer-cloud/node-sdk): Client library to use the IBM Watson Services and AlchemyAPI

## Dev Dependencies

- [babel-preset-stage-0](https://github.com/babel/babel/tree/master/packages): Babel preset for stage 0 plugins
- [babel-register](https://github.com/babel/babel/tree/master/packages): babel require hook
- [chai](https://github.com/chaijs/chai): BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
- [chai-as-promised](https://github.com/domenic/chai-as-promised): Extends Chai with assertions about promises.
- [dotenv](https://github.com/motdotla/dotenv): Loads environment variables from .env file
- [mocha](https://github.com/mochajs/mocha): simple, flexible, fun test framework
- [mocha-as-promised](https://github.com/domenic/mocha-as-promised): Adds “thenable” promise support to the Mocha test runner.
- [sinon](https://github.com/cjohansen/Sinon.JS): JavaScript test spies, stubs and mocks.
- [sinon-as-promised](https://github.com/bendrucker/sinon-as-promised): Sugar methods for using sinon.js stubs with promises

## Todo

- [ ] Don't expect process.env.VARIABLES on load.

## License

MIT

_Generated by [package-json-to-readme](https://github.com/zeke/package-json-to-readme)_

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