Skip to content

libdefkit 6.1.4

Install from the command line:
Learn more about npm packages
$ npm install @qiwi/libdefkit@6.1.4
Install via package.json:
"@qiwi/libdefkit": "6.1.4"

About this version

@qiwi/libdefkit

Maintainability Test Coverage

Util toolset to produce single-file TS and Flow libdefs

Requirements

Node.js >= 16

Install

yarn add @qiwi/libdefkit -D

Usage

Insert script to package.json

{
  "scripts": {
    "build:libdef": "libdefkit --tsconfig=tsconfig.esm.json --tsconfig=tsconfig.cjs.json"
  }
}

CLI

Flag Description Default
--help Display usage hints
--cwd Set current working dir process.cwd()
--entry Define pkg entry point ./index.ts
--ext Extension to use in module declarations. '' to unset any. .js
--tsconfig Define path(s) to project's TS config
--customTypings Attach custom libdefs to d.ts bundle
--cache Dir for temporary assets tempy.directory()
--dtsOut TS typings output typings/index.d.ts
--flowOut Flow libdef output flow-typed/index.flow.js

License

MIT

Details


Assets

  • libdefkit-6.1.4.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0