sls-common-tools

These are all common utilities

Usage no npm install needed!

<script type="module">
  import slsCommonTools from 'https://cdn.skypack.dev/sls-common-tools';
</script>

README

sls-common-tools

These are all common utilities

Installation

npm install sls-common-tools --save

Usage

TypeScript

import { log } from 'sls-common-tools';
log.info('info test');
Output should be {"level":30,"time":1575329413411,"pid":80837,"hostname":"MBP-DE-MOHAMED","msg":"info test","v":1}

Test

npm run test