dart-lang/js_facade_gen

Name: js_facade_gen

Owner: Dart

Description: Generates package:js Javascript interop facades for arbitrary TypeScript libraries

Created: 2016-08-04 14:37:34.0

Updated: 2018-05-14 09:29:10.0

Pushed: 2016-10-19 22:28:39.0

Homepage: https://www.npmjs.com/package/dart_js_facade_gen

Size: 118

Language: TypeScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Build Status

Generates package:js Javascript interop facades for arbitrary TypeScript libraries.

Installation
Usage
Basic

dart_js_facade_gen <input d.ts file> Dart interop facade file is written to stdout.

Advanced

dart_js_facade_gen --destination=<destination-dir> --basePath=<input d.ts file directory> <input d.ts file> <input d.ts file> ...

Example

dart_js_facade_gen --destination=/usr/foo/tmp/chartjs/lib --basePath=/usr/foo/git/DefinitelyTyped/chartjs /usr/foo/git/DefinitelyTyped/chartjs/chart.d.ts

Development
Gulp tasks
Publish

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.