# barkingiguana-verify

> Node.js port of BarkingIguana::Verify

Latest version **0.0.4** (published 2015-01-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install barkingiguana-verify
pnpm add barkingiguana-verify
yarn add barkingiguana-verify
bun add barkingiguana-verify
```

## 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.0.4 |
| Published | 2015-01-31 |
| First published | 2015-01-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Craig R Webster |
| Maintainers | barkingiguana |
| Keywords | signature, authentication, verify, api |

## Links

- npm: https://www.npmjs.com/package/barkingiguana-verify
- Repository: https://github.com/barkingiguana/verify.js
- Issues: https://github.com/barkingiguana/verify.js/issues
- npm.io page: https://npm.io/package/barkingiguana-verify

## Alternatives

- [@clerk/clerk-expo](https://npm.io/package/@clerk/clerk-expo.md) — 133.6K weekly downloads
- [@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
- [@oxyhq/services](https://npm.io/package/@oxyhq/services.md) — 2.3K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads

## Recent versions

- 0.0.4 (latest) — 2015-01-31
- 0.0.3 — 2015-01-31
- 0.0.2 — 2015-01-31
- 0.0.0 — 2015-01-31

## README

# verify.js

Node.js port of https://github.com/barkingiguana/verify

I got fed up of people telling me they couldn't use time based signed
actions because there was no client library for Node.js.

I'm sure there are lots of valid criticisms for the approach I've taken in
`BarkingIguana::Verify`. I'd like to hear *those* and not whining about
lack of suitable clients libraries.

## Installing

```
npm install barkingiguana-verify
```

## Usage

```javascript
verify  = require('barkingiguana-verify');

baseUrl = 'http://example.com';
username = 'craigw';
password = '123456-1234-1234-123456';
intent = verify.expressIntent('DELETE', '/resource/123', { confirm: true });
intentExpiry = new Date();
intentExpiry.setTime(1422724138000);
action = intent.sign(username, password, intentExpiry);
url = baseUrl + action.getSignedPath();

// Now make the request to that URL.
require('request')({ uri: url, method: "DELETE" }, function(error, response, body) {
  console.log("Performed action")
})
```

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