node-tracker-js
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

tracker-js

js 发送消息

使用

const Tracker = require("./index");
 
const cfg = {
    token: "test",
    clientid: "1",
    version: package.version,
    meta: {},
    platform: "",
};
 
const log = new Tracker(cfg);
 
log.setClientid("123");
 
log.msg("新测试标题", "测试内容无关", {});
log.msg("新测试标题2", "测试内容无关22");

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.5
    1
    • latest

Version History

Package Sidebar

Install

npm i node-tracker-js

Weekly Downloads

7

Version

1.0.5

License

MIT

Unpacked Size

9.09 kB

Total Files

8

Last publish

Collaborators

  • cuo9958