Compare commits

...

5 Commits

5 changed files with 17 additions and 6 deletions

6
.jshintrc Normal file
View File

@ -0,0 +1,6 @@
{
"esversion": 11,
"node": true,
"unused": true,
"curly": true
}

View File

@ -1,4 +1,4 @@
# @root/keypairs
# [@root/keypairs](https://git.rootprojects.org/root/keypairs.js)
Lightweight JavaScript RSA and ECDSA utils that work on Windows, Mac, and Linux
using modern node.js APIs (no need for C compiler).
@ -145,8 +145,13 @@ Keypairs.generate().then(function (pair) {
```bash
npm install --save-dev webpack@5
npx webpack
ls dist/
# Or, if webpack 5 is still in beta: npm install --save-dev webpack@next
npm install --save-dev webpack-cli
npx webpack --mode=production
ls dist/main.js
```
## API Overview

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@root/keypairs",
"version": "0.10.1",
"version": "0.10.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@root/keypairs",
"version": "0.10.1",
"version": "0.10.2",
"description": "Lightweight, Zero-Dependency RSA and EC/ECDSA crypto for Node.js and Browsers",
"main": "keypairs.js",
"browser": {
@ -20,7 +20,7 @@
],
"repository": {
"type": "git",
"url": "https://git.rootprojects.org/root/csr.js.git"
"url": "https://github.com/therootcompany/keypairs.js.git"
},
"keywords": [
"ASN.1",