ts_definition 1.0.0-beta copy "ts_definition: ^1.0.0-beta" to clipboard
ts_definition: ^1.0.0-beta copied to clipboard

Parse TypeScript interfaces, and generate (de)serializable Dart classes.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate ts_definition

Use it

The package has the following executables:

$ ts_definition

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add ts_definition

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  ts_definition: ^1.0.0-beta

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:ts_definition/ts_definition.dart';
0
likes
25
pub points
0%
popularity

Publisher

unverified uploader

Parse TypeScript interfaces, and generate (de)serializable Dart classes.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

antlr4dart, build, dart_style, indenting_buffer, inflection, recase, symbol_table

More

Packages that depend on ts_definition