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

4.0.3 • Public • Published

Installation

npm install --save @types/nodejs-license-file

Summary

This package contains type definitions for nodejs-license-file (https://github.com/bushev/nodejs-license-file).

Details

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

index.d.ts

export function parse(options: ParseOptions): License;
export function generate(options: GenerateOptions): string;
export interface License {
    valid: boolean;
    serial: string;
    data: any;
}
export interface ParseOptions {
    publicKeyPath?: string | undefined;
    publicKey?: string | undefined;
    licenseFilePath?: string | undefined;
    licenseFile?: string | undefined;
    template: string;
}
export interface GenerateOptions {
    privateKeyPath?: string | undefined;
    privateKey?: string | undefined;
    template: string;
    data: any;
}

Additional Details

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

Credits

These definitions were written by Troy McKinnon.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/nodejs-license-file

Weekly Downloads

139

Version

4.0.3

License

MIT

Unpacked Size

3.74 kB

Total Files

5

Last publish

Collaborators

  • types