Skip to content

Labs64/NetLicensingClient-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

057f1fd · Oct 3, 2019
Jun 7, 2019
Oct 3, 2019
Apr 25, 2019
Sep 30, 2019
Aug 29, 2019
Dec 14, 2018
Nov 26, 2018
Nov 26, 2018
Dec 6, 2018
Aug 29, 2019
Oct 31, 2017
Aug 9, 2017
May 22, 2019
Mar 5, 2018
Oct 3, 2019
Oct 3, 2019

Repository files navigation

Innovative License Management Solution

Labs64 NetLicensing Client (JavaScript)

Build Status npm version

JavaScript wrapper for Labs64 NetLicensing RESTful API

Visit Labs64 NetLicensing at https://netlicensing.io

How to Use

NetLicensing JavaScript Client was designed to work both in the browser and in Node.js.

In order to use NetLicensing JavaScript Client, you must include the compiled and minified JavaScript file in your project. There are multiple options for including these pre-compiled files, also known as a distribution, in your website or application.

Using from a CDN

A CDN (Content Delivery Network) is the fastest way to get up and running with NetLicensing JavaScript Client. Simply include the following lines of code in the <head> section of your page using latest released version:

<script src="https://cdn.jsdelivr.net/gh/Labs64/NetLicensingclient-javascript@x.y.z/dist/netlicensing-client.min.js"></script>

Installing with Node.js / npm

NetLicensing JavaScript Client is available on npmjs. Add the following to your package.json file and then run npm install:

"dependencies": {
    "netlicensing-client": "x.y.z"
}

or execute following command in your Node.js environment:

$ npm install netlicensing-client

Manual installation

We strongly recommend that you use either a CDN or a package manager like npm. This will make it easier for you to deploy your project in different environments, and easily update NetLicensing JavaScript Client when new versions are released. Nonetheless, if you prefer to integrate NetLicensing into your project manually, you can download the release of your choice from GitHub and copy the files from the dist directory into your project.

Include the compiled files in your page:

<script src="path/to/netlicensing-client.min.js"></script>

Check out project wiki pages for detailed usage instructions.

Online Demo

Demo web application for this library can be found here as well as source code.

Development

Here is a Docker-based local development environment prepared, which provides a very flexible and extensible way of developing Node.js applications.

System Requirements

To be able to build this library you have to meet the following requirements:

  • docker To be able to build this NetLicensing Client you have to meet the following requirements:
  • Node.js > 6.0
  • npm > 3.10.x

Develop with Docker

  1. Clone repository
$ git clone https://github.com/Labs64/NetLicensingClient-javascript.git
  1. Prepare docker image
$ docker build -t labs64/nodejs .
  1. Start local development environment
$ docker run -v $(pwd):/opt/NetLicensingClient-javascript -i -t labs64/nodejs /bin/bash
  1. Configure git using your eMail and Username
$ git config --global user.email "eMail"
$ git config --global user.name "User Name"

How to Contribute

Everyone is welcome to contribute to this project! Once you're done with your changes send a pull request and check CI validation status. Thanks!

Bugs and Feedback

For bugs, questions and discussions please use the GitHub Issues.

License

This boilerplate is open-sourced software licensed under the Apache License Version 2.0.


Visit Labs64 NetLicensing at https://netlicensing.io