Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@kano/kbc-telemetry
Advanced tools
kbc-telemetry
Telemetry module for boilerplate apps, using react-tracking
import * as Telemetry from '@kano/kbc-telemetry';
const Tracking = Telemetry.TelemetryProvider;
// Wrap your app in <Tracking> and pass config info
const config = {
app: app.name,
appVersion: app.version
url: app.url,
env: app.env
interval: 10000 // How frequently you want the telemetry data sent to your database
}
render() {
return (
<Tracking config={config}>
<App />
</Tracking>
);
}
Tracking data can be sent as decorators in container/component files: See https://github.com/nytimes/react-tracking README
import React, { Component } from 'react';
import * as Telemetry from '@kano/kbc-telemetry';
@Telemetry.track({ event: 'name-of-your-event' })
class MyComponent extends Component {
@Telemetry.track({ event: 'I-did-something', action: 'click' })
handleSomething() {
//I run something
}
render() {
return <div></div>;
}
}
FAQs
Telemetry module for boilerplate apps, using react-tracking
The npm package @kano/kbc-telemetry receives a total of 9 weekly downloads. As such, @kano/kbc-telemetry popularity was classified as not popular.
We found that @kano/kbc-telemetry demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 17 open source maintainers collaborating on the project.
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.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.