JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14
  • Score
    100M100P100Q48957F
  • License MIT

A simple console application for Node.js

Package Exports

  • node-nconsole
  • node-nconsole/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-nconsole) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

node-nconsole

logger console for web

Getting Started

Demo NConsole

Installation

App desktop download NConsole

npm install node-nconsole

Usage

import * as React from 'react';
import { NConsole } from 'node-nconsole';

export default function Main() {
  React.useEffect(() => {
    NConsole.isEnable = true;
    NConsole.setUri('10.10.51.97');
  }, []);

  const onLog = () => {
    NConsole.log('Hello', 'World', { number: 1 });
    NConsole.group('Group', { number: 1 });
    NConsole.groupEnd();
  };

  return (
    <div>
      <button onClick={onLog}>Log</button>
    </div>
  );
} 

License

MIT