@randybinondo/typescript-module
v0.1.10
Published
Sample Typescript Module
Downloads
6
Maintainers
Readme
typescript-module
Sample Typescript Module
Installation
$ npm i --save @randybinondo/typescript-module
Usage
Prerequisite
$ npm install -D typescript ts-node
import { sample } from "@randybinondo/typescript-module"
const name = 'zzz'
console.log(sample`aaa bbb ccc ${name}`);
Output
Optional
$ git clone https://github.com/randy-binondo-dev/typescript-module-demo.git
Run
$ npm start
> @randybinondo/[email protected] start
> ts-node index.ts
string: aaa bbb ccc , first parameter: zzz
License
Typescript Module is MIT licensed.