Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-license-client

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-license-client

client module for node-license-server

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

node-license-client

NPM Version NPM Downloads Build Status Test Coverage

Client module for node-license-server

Installation

npm i node-license-client

Get Started

const LicenseClient = require('node-license-client')
const options = {
  certHex: '',                 // hex of public.pem, not required if pemPath is specified
  pemPath: 'public.pem',       // path of public.pem, not required if certHex is provided
  identity: 'Client Software', // identify of the client software 
  secret: 'Client Software',   // optional(unique secret to identify physical machine, please refer to `machine-digest`)
  keyFilePath: '',             // path of license key, default is 'key.txt'
  licenseFilePath: '',         // path of license file, defautl is 'license.txt'
  licenseServer: 'https://license-server/'  // license server address
}
const client = new LicenseClient(options)

// during app init
const init = async () => {
  await licensing.verify()
}

Keywords

FAQs

Package last updated on 15 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc