Logger module

Usage no npm install needed!

<script type="module">
  import testLoggerModule from 'https://cdn.skypack.dev/test-logger-module';


Module skeleton

This module skeleton is designed to bootstrap your npm package project

It has features:

  • Babel ES6
  • Eslint with Airbnb
  • Prettier code formatter
  • Auto format on save if you use VSCode
  • Jest test setup
  • Test coverage threshold and report setup

How to use this skeleton

  1. Fork this repository
  2. Update name and description, repository url, author, keywords in package.json
  3. If you want to use the module for browser environment, add browser key to package.json read more
  4. Start develop
  5. Test your module by using npm link
npm link
  1. REPL with the module/service/frontend that going to consume the package. Go to the consumer and run the command
npm link <module_name>

Known issue: the link will invalidate when you install new package in consumer, simply run the link command again