public-record

0.0.3 • Public • Published

Public Record

A configurable shared public record of ui environment managed console logging

Linked script example:


let level = 'info';
let options = {};
publicRecord.setOptions(options);
publicRecord.logMessage(level, 'This is %s message #%d', 'dynamic', 1);
// Outputs: This is dynamic message #1

ES Module Usage:


import {publicCreate} from "../../dist/publicCreate";
let options = {};
let publicRecord = publicCreate(options);
let level = 'info';

publicRecord.logMessage(level, 'This is %s message #%d', 'dynamic', 1);
// Outputs: This is dynamic message #1

Getting Started

To begin, clone this project and run


npm install
npm run release

Then, run a web server such as http-server Go to the root of the project to read the documentation

Dependencies (1)

Dev Dependencies (15)

Package Sidebar

Install

npm i public-record

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

2.57 kB

Total Files

2

Last publish

Collaborators

  • subtex916