Sign inSign up

dukecyber/ts-log-generator

By dukecyber

•Updated over 4 years ago

For test generate log to console with module tslog

Image
0

578

dukecyber/ts-log-generator repository overview

⁠Sample typescript

For test generate log to console with module tslog
more information: Github repository⁠

⁠How to use

  • Install Dev dependencies.
$ npm ci # or use npm install
  • To compile typescript to commonJS in build folder.
$ npx tsc
  • Run dev serve with nodemon.
$ npm run start:dev

⁠Fast Demo with docker

You can run nodejs in docker for fasttrack to demo this service.

$ docker run -it --rm -v $(pwd):/app node:15-alpine /bin/ash
$ cd /app
$ npm ci
$ npm run start:dev # this line use nodemon module to auto-reload script on-flight

Tag summary

Content type

Image

Digest

Size

60.5 MB

Last updated

over 5 years ago

docker pull dukecyber/ts-log-generator