1.0.3 • Published 5 years ago

keyly v1.0.3

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

THIS SERVICE IS CURRENTLY IN DEVELOPMENT - THIS PACKAGE WILL NOT WORK.

any enqiuries, please contact us at hello@keyly.co

API 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