/ts-hi

Create npm package with Typescript

Primary LanguageJavaScript

ts-hi

Build Status Coverage Status

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