Socket
Socket
Sign inDemoInstall

collar.js-dev-client

Package Overview
Dependencies
22
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    collar.js-dev-client

collar.js client side dev tool


Version published
Maintainers
1
Install size
5.22 MB
Created

Readme

Source

Collar.js Dev Tool (client)

This tool is used to collect dev information in your collar.js based application.

Install

For node.js application

npm install collar.js-dev-client --save-dev

For web application, you can directly download it from github:

https://github.com/bhou/collarjs-dist

Usage

For node.js application

const DevToolAddon = require('collar.js-dev-client');
collar.use(new DevToolAddon());

For web application

<script src="collar.js-dev-client.js"></script>

It will register a global variable DevToolAddon;

collar.use(new DevToolAddon());

You can pass options to the DevToolAddon constructor:

  • process: string, the process name
  • url: string, the collar-dev-server url, default: ws://localhost:7500
  • interval: long, the interval to send collected data to collar dev server in milliseconds, default, 1000

About version

You need to use the right version of collar.js-dev-client to match the collar dev server version.

Usually both of them use the same major version to keep the compatibility:

collar-dev-server v0.* matches collar.js-dev-client v0.* collar-dev-server v1.* matches collar.js-dev-client v1.*

Keywords

FAQs

Last updated on 25 Feb 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc