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 Lightweight JavaScript RSA and ECDSA utils that work on Windows, Mac, and Linux
using modern node.js APIs (no need for C compiler). using modern node.js APIs (no need for C compiler).
@ -145,8 +145,13 @@ Keypairs.generate().then(function (pair) {
```bash ```bash
npm install --save-dev webpack@5 npm install --save-dev webpack@5
npx webpack # Or, if webpack 5 is still in beta: npm install --save-dev webpack@next
ls dist/
npm install --save-dev webpack-cli
npx webpack --mode=production
ls dist/main.js
``` ```
## API Overview ## API Overview

2
package-lock.json generated
View File

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

View File

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