1.1.2 • Published 4 years ago

club-imports v1.1.2

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

Club Typescript imports

This is a command line utility for clubbing typescript imports in your files.

Installation

npm i -g club-imports

Usage (CLI)

club-imports [Options]

Options:
  -s, --sort         sort the import lines
  -g, --group        group npm and local imports separately
  -f, --file <path>  Path to your typescript file
  -h, --help         display help for command
// myfile.ts
import { mySuperInterface } from 'something'
import { myOtherSuperInterface } from 'something'


/*
* My super duper typescript code
*/
// myfile.ts after processing
import { mySuperInterface, myOtherSuperInterface } from 'something';


/*
* My super duper typescript code
*/
1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago