
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@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
The npm package @badmachine/influxdb3-napi receives a total of 13 weekly downloads. As such, @badmachine/influxdb3-napi popularity was classified as not popular.
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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.