
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@badmachine/influxdb3-napi
Advanced tools
Influxdb3 client written in rust and built for nodejs with napi-rs
High-performance Node.js client for InfluxDB 3.0 with native Rust bindings, supporting both read and write operations.
npm install @badmachine/influxdb3-napi
https
hosts were failing with other JS libraries due to self-signed certificate check errorsserde
for basic json serialization.import { InfluxDbClient, Point } from '@badmachine/influxdb3-napi';
// Initialize client
const client = new InfluxDbClient(
'http://your-influxdb-host:8086',
'your-api-token'
);
// Write data using Point builder
const point = Point.fromMeasurement('temperature')
.setTag('location', 'office')
.setTag('sensor', 'temp01')
.setBooleanField('active', true)
.setFloatField('value', 23.5);
const lineProtocol = point.toLineProtocol('ns');
await client.write([lineProtocol], 'your-database');
// Query data with async iteration
const result = client.query({
database: 'your-database',
query: 'SELECT * FROM temperature WHERE time > now() - 1h',
type: 'sql'
});
// Stream results efficiently
for await (const row of result) {
console.log(row);
}
Full TypeScript definitions are included:
Contributions are welcome! Please read our contributing guidelines and submit pull requests to our repository.
MIT License - see LICENSE file for details.
See CHANGELOG.md for version history and changes.
FAQs
Influxdb3 client written in rust and built for nodejs with napi-rs
We found that @badmachine/influxdb3-napi demonstrated a healthy version release cadence and project activity because the last version was released less than 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 how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.