0.0.6 • Published 3 years ago

@launchpack/import v0.0.6

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

@launchpack/import

Typescript Importer based on esbuild

$npm install @launchpack/import

Usage

// index.ts
export const NAME = "john";
export const AGE = "50";
export const ADDRESS = "123 main st";
// run.js

const impt = require("@launchpack/import");

console.log(impt.RequireTs("./exports.ts").NAME); // john
0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.0

3 years ago