0.0.3 • Published 4 years ago

@btwiuse/ts-node-lib v0.0.3

Weekly downloads
-
License
Unlicense
Repository
github
Last release
4 years ago

ts-node-shebang

NPM version NPM downloads

This is a template project that demonstrates how to distribute executable TypeScript snippets on npmjs.org without compilation to JavaScript, thanks to the ts-node shebang line:

#/usr/bin/env ts-node

How to use

  1. fork this project or click Use this template,
  2. replace index.ts etc. with your own script,
  3. and rename this project to something else other than @btwiuse/ts-node-shebang,
  4. then run yarn publish to publish it.

So other people can easily install your script,

$ npm install -g ts-node @btwiuse/ts-node-shebang

and run it:

$ ts-node-shebang