Neologistic Paraphasic Mumbling

    mqtt-jsonl-store
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.2 • Public • Published

    mqtt-jsonl-store

    JSONL store for in-flight MQTT.js packets. Powered by jsonl-db.

    CI

    node npm

    Installation

    npm install mqtt-jsonl-store

    Usage

    const mqtt = require("mqtt");
    const { Manager } = require("mqtt-jsonl-store");
    
    const manager = new Manager("path/to/store");
    
    async function main() {
    	await manager.open();
    	const client = mqtt.connect("mqtt://localhost", {
    		incomingStore: manager.incoming,
    		outgoingStore: manager.outgoing,
    	});
    }
    
    main();

    Install

    npm i mqtt-jsonl-store

    DownloadsWeekly Downloads

    939

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    18.5 kB

    Total Files

    12

    Last publish

    Collaborators

    • roberts_lando