New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@fusedb/toml

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fusedb/toml

A FUSE driver for storing data using TOML as the storage engine.

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

🔌 FUSE Driver: TOML

A FUSE driver for storing data using TOML as the storage engine.

npm i @fushdb/toml npm license FUSE ⚡

📦 Installation

npm install @fusedb/core
npm install @fusedb/toml

🚀 Usage

const FUSE = require("@fusedb/core");
const TOMLDriver = require("@fusedb/toml");

const db = new FUSE({
  driver: new TOMLDriver({
    path: "./database/data.toml",
  }),
});

(async () => {
  await db.set("example", { hello: "world" });
  const data = await db.get("example");
  
  console.log(data); // { hello: "world" }
})();

⚙️ Options

OptionTypeDescription
pathstringFile path for the TOML file
autosavebooleanAutomatically save after write actions

✅ Features

  • ✅ Full compatibility with FUSE Core API
  • ✅ Persistent storage via TOML

🤝 Contributing

We welcome community contributions!

If you’re building your own driver, feel free to publish it using:

  • fusedb-<name>
  • or @your-org/fusedb-<name>

Follow the FUSE Driver Guidelines for more details.

🧾 License

Licensed under the Apache-2.0.

Keywords

FUSE

FAQs

Package last updated on 29 May 2025

Did you know?

Socket

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.

Install

Related posts