0.0.6 • Published 4 years ago

@launchpack/import v0.0.6

Weekly downloads
-
License
-
Repository
-
Last release
4 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

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago