keyly

1.0.3 • Public • Published

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

Package Sidebar

Install

npm i keyly

Weekly Downloads

2

Version

1.0.3

License

ISC

Unpacked Size

3.66 kB

Total Files

5

Last publish

Collaborators

  • keyly