https://github.com/rakannimer/universal-console
Use your browser's console from NodeJS, React Native or Electron
https://github.com/rakannimer/universal-console
Last synced: 3 months ago
JSON representation
Use your browser's console from NodeJS, React Native or Electron
- Host: GitHub
- URL: https://github.com/rakannimer/universal-console
- Owner: rakannimer
- Created: 2019-09-28T23:06:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T14:37:38.000Z (over 2 years ago)
- Last Synced: 2025-03-16T10:34:11.717Z (4 months ago)
- Language: JavaScript
- Size: 248 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Universal Console
Use your favorite browser's console from NodeJS, React Native or Electron
## Install
```sh
yarn add -D universal-console
```## Usage
```typescript
import uc from "universal-console";uc.log(1, 2, { foo: 'bar' });
uc.warn(1, 2, { foo: 'bar' });
uc.error(1, 2, { foo: 'bar' });
```
And check your logs on http://localhost:7331