ts-npm-demo

create npm package with typescript

Usage no npm install needed!

<script type="module">
  import tsNpmDemo from 'https://cdn.skypack.dev/ts-npm-demo';
</script>

README

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