Comparing version 1.0.0-beta.1 to 1.0.0
{ | ||
"name": "node-otp", | ||
"description": "Node.js One-Time Password", | ||
"version": "1.0.0-beta.1", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"main": "./lib/index.js", | ||
"types": "./lib/index.d.ts", | ||
"author": { | ||
"name": "Alessio Dionisi", | ||
"email": "hello@adns.io" | ||
}, | ||
"author": "Alessio Dionisi <hello@adns.io>", | ||
"repository": "alessiodionisi/node-otp", | ||
@@ -17,3 +14,4 @@ "keywords": [ | ||
"rfc4226", | ||
"rfc6238" | ||
"rfc6238", | ||
"typescript" | ||
], | ||
@@ -23,3 +21,2 @@ "scripts": { | ||
"test": "jest", | ||
"test:coverage": "yarn run test --coverage", | ||
"build": "tsc" | ||
@@ -26,0 +23,0 @@ }, |
@@ -1,4 +0,26 @@ | ||
# Node.js One-Time Password | ||
# Node OTP | ||
[![NPMV](https://img.shields.io/npm/v/node-otp.svg?style=flat-square)](https://npmjs.org/package/node-otp) | ||
[![Travis](https://img.shields.io/travis/adnsio/node-otp.svg?style=flat-square)](https://travis-ci.org/adnsio/node-otp) | ||
[![Travis](https://img.shields.io/travis/adnsio/node-otp.svg?style=flat-square)](https://travis-ci.org/adnsio/node-otp) | ||
Node.js One-Time Password library | ||
### Features | ||
- Zero Dependency | ||
- TypeScript Definitions | ||
- RFC4226 (HMAC One-Time Password) | ||
- RFC6238 (Time-Based One-Time Password) | ||
### Examples | ||
```javascript | ||
otp.hotp({ | ||
secret: '12345678901234567890' | ||
}) | ||
``` | ||
```javascript | ||
otp.totp({ | ||
secret: '12345678901234567890', | ||
timestamp: new Date().getTime() | ||
}) | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
6933
1
26
0