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

tauri-plugin-persistence-api

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tauri-plugin-persistence-api

A wrapper plugin for several persistence backends, focused on managing complex project folders with less boilerplate.

latest
Source
npmnpm
Version
0.2.1
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

tauri-plugin-persistence

A wrapper plugin for several persistence backends, focused on managing complex project folders with less boilerplate.

Installation

# Install cargo dependency
cargo add tauri-plugin-persistence

# Install JS dependency
npm install tauri-plugin-persistence-api

Setup

The plugin must be initialized in Rust. A basic example follows:

pub fn run() {
    tauri::Builder::default()
        .plugin(tauri_plugin_persistence::init())
        .run(tauri::generate_context!())
        .expect("error while running tauri application");
}

Usage

The plugin's functions can be accessed in Rust from app.persistence(), or in the frontend (see the example).

FAQs

Package last updated on 17 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