Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
segmentio-commonjs-client
Advanced tools
A npm-based client for SegmentIO that is expected to be used client-side via CommonJS. For server-side, look to analytics-node which supports buffering. This project exists because while analytics-node can be used client-side, doing so has some downsides:
window._
(reported as an issue so may change)To create an instance of the client pass the SegmentIO write key:
var Analytics = require('segmentio-commonjs-client');
var client = new Analytics('my_segment_write_key');
SegmentIO identify event:
client.identify({
userId: 'abc123',
traits: {
email: 'bob@example.com',
age: 42
}
});
SegmentIO track event:
client.track({
userId: 'abc123',
event: 'MyEvent',
properties: {
arbitraryKey: 'someValue'
}
});
The client has a setLoggingOnly()
function that can be called to disable actually interacting with the SegmentIO API -- instead the calls are logged to the console. This is useful when in non-production model.
Early stage but working and in production use. PRs and issues welcomed!
MIT
[0.0.8] - 2015-11-06
FAQs
A client for SegmentIO using CommmonJS
The npm package segmentio-commonjs-client receives a total of 0 weekly downloads. As such, segmentio-commonjs-client popularity was classified as not popular.
We found that segmentio-commonjs-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.