tinyprofiler-react

0.0.5 • Public • Published

tinyprofiler-react

ReactJS front-end for TinyProfiler

  • introduction
  • getting started
  • documentation
  • license

introduction

tinyprofiler is a minimal isomorphic JavaScript profiler. This package is a front-end for tinyprofiler built using the React.js framework. It is primarily intended to be part of a larger application built with React, but can be used independently in any front-end as well.

getting started

First you'll need to set up tinyprofiler on the server and the shared tinyprofiler-client in the browser. Then simply create the markup for your client instance with code such as this:

var ui = require('tinyprofiler-react');
var reactComponent = ui.renderComponent(
  tinyprofilerClient,
  { position: 'sw' }
);

or this,

ui.renderElement(
  tinyprofilerClient,
  document.getElementById("tp")
);

or this,

var stringValue = ui.renderString(
  tinyprofilerClient
);

documentation

coming soon

license

MIT: https://couch.mit-license.org/

╭╮☲☲☲╭╮

Readme

Keywords

Package Sidebar

Install

npm i tinyprofiler-react

Weekly Downloads

0

Version

0.0.5

License

MIT

Last publish

Collaborators

  • couchand