trackjs

TrackJS JavaScript error tracking agent.

trackjs downloads trackjs version trackjs license

trackjs类似的npm包:

npm下载趋势

3 年
🌟 在 trackjs 的 README.md 中显示实时使用量图表,只需复制下面的代码。
## Usage Trend
[![Usage Trend of trackjs](https://npm-compare.com/img/npm-trend/THREE_YEARS/trackjs.png)](https://npm-compare.com/trackjs#timeRange=THREE_YEARS)

Cumulative GitHub Star Trend

🌟 在 trackjs 的 README.md 中显示 GitHub stars 趋势图表,只需复制下面的代码。
## GitHub Stars Trend
[![GitHub Stars Trend of trackjs](https://npm-compare.com/img/github-trend/trackjs.png)](https://npm-compare.com/trackjs)

统计详情

npm包名称
下载量
Stars
大小
Issues
发布时间
License
trackjs52,533128137 kB33 年前SEE LICENSE IN LICENSE.md

trackjs的README

TrackJS Browser Agent

The browser agent for collecting errors from JavaScript, Network, and console exceptions. The agent wraps the browser API to record context about your application, network, and visitor, and include that context when unhandled errors occur.

You'll need a TrackJS account to use this agent. If you don't have one, why not start a free trial today?

Quick Start

  1. Signup for TrackJS and get your token.
  2. Add a dependency on TrackJS with npm install trackjs --save
  3. Install the agent in your app. You can paste the script tags into the <head> of your HTML:
<script src="PATH_TO_TRACKJS/t.js"></script>
<script>
  window.TrackJS && TrackJS.install({ token: 'YOUR_TOKEN_HERE' });
</script>

Or you can bundle it as a module into your application.

import { TrackJS } from 'trackjs';
TrackJS.install({ token: 'YOUR_TOKEN_HERE' });
  1. Test it out by calling TrackJS.track('testing!') somewhere in your application.
  2. You should see your error on TrackJS within a few seconds.

More Information

You can find more information about how to install and configure the agent in the TrackJS Documentation. If you run into any trouble, let us know right away at hello@trackjs.com