definition-header

0.6.0 • Public • Published

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.

⚠️ Under construction, in-consistent, tests incomplete... 😎

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.

Package Sidebar

Install

npm i definition-header

Weekly Downloads

792

Version

0.6.0

License

MIT

Last publish

Collaborators

  • bartvds
  • leonard-thieu
  • types
  • vvakame