definition-header

DefinitelyTyped definition header tools

MIT 12 个版本
安装
npm install definition-header
yarn add definition-header
pnpm add definition-header
bun add definition-header
README

definition-header

Build Status NPM version Dependency Status devDependency Status

DefinitelyTyped definition header utils

Work with the headers in the definition files in the DefinitelyTyped repository.

Bundles a parser, serialiser, interfaces, assertions and some utilities.

:warning: Under construction, in-consistent, tests incomplete... :sunglasses:

Type export

This module is also test to figure out how to export type-info in a npm module (like via package.json etc).

Format

Classic header (from the wiki)

// Type definitions for [LIBRARY NAME]
// Project: [LIBRARY URL]
// Definitions by: [AUTHOR NAME] <[AUTHOR URL]>
// Definitions: https://github.com/borisyankov/DefinitelyTyped

Build

Install development dependencies in your git checkout:

$ npm install

Build and run tests using grunt:

$ npm test

See the Gruntfile.js for additional commands.

History

  • 0.0.1 - First release

License

Copyright (c) 2014 Bart van der Schoor @ DefinitelyTyped

Licensed under the MIT license.

版本列表
0.6.0 2017-08-13
0.5.0 2017-06-13
0.4.0 2017-05-30
0.3.4 2016-07-29
0.3.3 2016-07-29
0.3.2 2016-03-16
0.3.1 2016-03-12
0.3.0 2016-01-25
0.2.0 2015-11-07
0.1.0 2014-06-18
0.0.2 2014-06-16
0.0.1 2014-06-16