definition-header

DefinitelyTyped definition header tools

Usage no npm install needed!

<script type="module">
  import definitionHeader from 'https://cdn.skypack.dev/definition-header';
</script>

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.