1.1.3 • Published 2 years ago

ts-index-compiler v1.1.3

Weekly downloads
54
License
MIT
Repository
github
Last release
2 years ago

Usage

npx ts-index-compiler [options]

Auto-generate an index.ts file from typescript source files - build your libraries with freedom!

Options

  • -o --out \<filepath> Output file to be generated (default: ./src/index.ts)
  • -p --path \<path> Path to recursively examine for outputs (default: ./src)

ts-index-compiler - v1.1.3

Index

Variables

Functions

Variables

Const base

base: "." = "."

Defined in index.ts:4

Defined in make-index.ts:5


out

out: string

Defined in make-index.ts:87


Const x

x: [string[], string[]][] = getExports(".")

Defined in make-index.ts:88

Functions

getExports

getExports(base: string, context: string):

Defined in index.ts:5

Parameters:

NameTypeDefault
basestring"."
contextstringjoin(process.cwd(), "src")

Returns:


makeIndex

makeIndex(exports: , indexPath: string): void

Defined in index.ts:53

Parameters:

NameTypeDefault
exports-
indexPathstring"./src/index.ts"

Returns: void

1.1.3

2 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

4 years ago