Comparing version 1.0.0 to 1.0.1
@@ -1,2 +0,2 @@ | ||
class EasyKey { | ||
class EasyKeys { | ||
constructor() { | ||
@@ -37,2 +37,2 @@ this.chars = | ||
export default EasyKey; | ||
export default EasyKeys; |
{ | ||
"name": "easykeys", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Generate cryptographically secure keypairs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
# EasyKey | ||
# EasyKeys | ||
> Generate cryptographically secure keypairs | ||
@@ -10,3 +10,3 @@ | ||
``` | ||
npm i easykey | ||
npm i easykeys | ||
``` | ||
@@ -29,10 +29,10 @@ | ||
```html | ||
<script type="module" src="coming soon"></script> | ||
<script type="module" src="https://cdn.jsdelivr.net/gh/easypeers/easykeys@master/index.js"></script> | ||
``` | ||
## API | ||
### `new EasyKey()` | ||
### `new EasyKeys()` | ||
Create a new instance | ||
### easyKey.pair() | ||
### easyKeys.pair() | ||
Return a keypair | ||
@@ -39,0 +39,0 @@ |
@@ -1,2 +0,2 @@ | ||
import EasyKey from "./index.js"; | ||
import EasyKeys from "./index.js"; | ||
import assert from "assert"; | ||
@@ -33,3 +33,3 @@ | ||
for (let i = 0; i < runs; i++) { | ||
const easyKey = new EasyKey(); | ||
const easyKey = new EasyKeys(); | ||
const pair = easyKey.pair(); | ||
@@ -36,0 +36,0 @@ |
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
4686