# node-timednonce

> Utility for creating and verifying time based nonces

Latest version **1.1.4** (published 2017-12-20) · 0 weekly downloads

## Install

```sh
npm install node-timednonce
pnpm add node-timednonce
yarn add node-timednonce
bun add node-timednonce
```

## 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.4 |
| Published | 2017-12-20 |
| First published | 2015-12-13 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Jack Broadway |
| Maintainers | geekbroadway |

## Links

- npm: https://www.npmjs.com/package/node-timednonce
- Repository: https://github.com/GeekBroadway/node-timednonce
- Homepage: https://github.com/GeekBroadway/node-timednonce#readme
- Issues: https://github.com/GeekBroadway/node-timednonce/issues
- npm.io page: https://npm.io/package/node-timednonce

## Recent versions

- 1.1.4 (latest) — 2017-12-20
- 1.1.3 — 2015-12-13

## README

# Timed Nonce
[![npm version](https://img.shields.io/npm/v/node-timednonce.svg)](https://npmjs.com/package/node-timednonce)
[![npm downloads](https://img.shields.io/npm/dm/node-timednonce.svg)](https://npmjs.com/package/node-timednonce)
[![license](https://img.shields.io/npm/l/node-timednonce.svg)](https://github.com/BaserPoison/node-timednonce/blob/master/LICENSE)

A small library for generating and verifying time based nonces using secrets.

## Installation
```js
npm install node-timednonce --save
```
## Usage
```js
var nonceHandler = require(node-timednonce);


var nonce = nonceHandler.create("secret", 100); //Returns the nonce ready to send
var valid = nonceHandler.verify("secret", nonce); //Will return true otherwise return object with status and message
```
## Tests
	
	$ npm test

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