@types/license-key-gen
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

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 09:09:38 GMT
  • Dependencies: none

Credits

These definitions were written by abh80.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/license-key-gen

Weekly Downloads

35

Version

0.1.2

License

MIT

Unpacked Size

3.35 kB

Total Files

5

Last publish

Collaborators

  • types