@pilotmoon/aquatic-prime
v0.2.0
Published
Generate AquaticPrime license keys
Downloads
11
Readme
AquaticPrime for node
A node.js module to generate AquaticPrime-compatible license keys.
npm install @pilotmoon/aquatic-prime
import { AquaticPrime } from "@pilotmoon/aquatic-prime";
const aqp = new AquaticPrime({
publicKey: "<base64 encoded public key>",
privateKey: "<base64 encoded private key>",
keyFormat: "base64", // "hex" is allowed too
});
// generate license plist
const { signedPlist } = aqp.generateLicense({
"Name": "Foo",
"Date": "2022-02-01",
"AbritraryWhatever": "Dingus",
});