# twxauth

> Easy Twitter XAuth simulator.

Latest version **1.1.0** (published 2017-09-21) · ISC license · 0 weekly downloads

## Install

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

## 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.1.0 |
| Published | 2017-09-21 |
| First published | 2017-09-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | @2vg |
| Maintainers | 2vg |
| Keywords | twitter, XAuth |

## Links

- npm: https://www.npmjs.com/package/twxauth
- Repository: https://github.com/2vg/twxauth
- Homepage: https://github.com/2vg/twxauth#readme
- Issues: https://github.com/2vg/twxauth/issues
- npm.io page: https://npm.io/package/twxauth

## Dependencies (2)

- [autwh](https://npm.io/package/autwh.md) 0.0.1
- [cheerio-httpcli](https://npm.io/package/cheerio-httpcli.md) ^0.7.1

## Alternatives

- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads
- [escher-request](https://npm.io/package/escher-request.md) — 545 weekly downloads

## Recent versions

- 1.1.0 (latest) — 2017-09-21

## README

# twxauth

> Easy Twitter XAuth(?).

## install
``` shell
npm install twxauth
```

## usage
``` javascript
'use strict';
const tx = require('twxauth');

const ck = "your consumerKey",
      cs = "your consumerSecret",
      un = "your twitter username",
      pw = "your twitter password";

(async() => {
  const token = await tx.twxauth(ck, cs, un, pw);
  console.log(token);
  /*
  **
  **  example result,
  **
  **{ accessToken: 'XXXX-XXXXXXXX',
  **  accessTokenSecret: 'XXXXXXXXXX',
  **  userId: 'XXXXXXXXXX',
  **  screenName: 'XXXXXX' }
  */
})();
```

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