npm.io
0.1.2 • Published 2 years ago

@types/license-key-gen

Licence
MIT
Version
0.1.2
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/license-key-gen

Summary

This package contains type definitions for license-key-gen (https://github.com/arunahk/license-key-gen).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/license-key-gen.

index.d.ts

export interface userInfo {
    company: string;
    street: string;
    city: string;
    state: string;
    zip: string;
}
export interface licenseData {
    info: userInfo;
    prodCode: string;
    appVersion: string;
    osType: string;
}
export function createLicense(licenseData: licenseData): object;

export function validateLicense(licenseData: licenseData, serial: string): object;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0938 GMT
  • Dependencies: none

Credits

These definitions were written by abh80.