npm install ts-hi
yarn add ts-hi
import { add } from 'ts-hi';
console.log(add(1, 2));
import add = require('ts-hi).add;
console.log(add(1, 2));
npm run test
Create npm package with Typescript
npm install ts-hi
yarn add ts-hi
import { add } from 'ts-hi';
console.log(add(1, 2));
import add = require('ts-hi).add;
console.log(add(1, 2));
npm run test
Create npm package with Typescript