@launchpack/import
v0.0.6
Published
Typescript Importer based on esbuild
Downloads
22
Readme
@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