ts-hi Install npm install ts-hi yarn add ts-hi Usage Typescript import { add } from 'ts-hi'; console.log(add(1, 2)); javascript import add = require('ts-hi).add; console.log(add(1, 2)); Test npm run test