1.1.3 • Published 3 years ago
ts-index-compiler v1.1.3
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:
| Name | Type | Default |
|---|---|---|
base | string | "." |
context | string | join(process.cwd(), "src") |
makeIndex
▸ makeIndex(exports: , indexPath: string): void
Defined in index.ts:53
Parameters:
| Name | Type | Default |
|---|---|---|
exports | - | |
indexPath | string | "./src/index.ts" |
Returns: void