THIS SERVICE IS CURRENTLY IN DEVELOPMENT - THIS PACKAGE WILL NOT WORK.
hello@keyly.co
any enqiuries, please contact us atAPI to interface with the Keyly.co software licensing service.
This library contains functions and helpers to allow activation of licenses using the Keyly.co license service.
Examples
Key Verification
You can find the variables needed here. The code below will give you a general idea of how to verify a license key.
const keyly = require('keyly').auth;
var publickey = "Your public key can be found on your user panel. ";
var result = keyly.authenticate("identifier", publickey, "projectid", "key", "123")
result.then(function(license) {
if (!license) {
// license verification failed
return;
}
// license successfully verified. A list of parameters can be found here: https://help.keyly.co/articles/verify-key#params
console.log(license);
});
s