1.0.6 • Published 2 years ago

console2html v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Console2html

Console2html is a debug tool which is used in can-not-see-console environment.

Install

npm install console2html

Usage

React

App.js

import { Console2html } from 'console2html'
let c2h

function App() {
  
  c2h = new Console2html()
  c2h.init()

  console.log('test log')
  console.warn('test warn')
  console.error('test error')

  return (
    <div className="App"></div>
  )
}

export default App
1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago