Free Forever

Permadata Local-Only Version

Get started with powerful data persistence for free. No credit card required.

View Documentation

What's Included

Our free version gives you essential data persistence capabilities for your projects.

Core Persistence

Reliable data storage that persists across browser sessions

  • Survives browser restarts
  • Persists through cache clearing
  • Works in private browsing

Security Features

Basic security for your stored data

  • Local encryption
  • Tamper protection
  • Secure storage mechanisms

Developer-Friendly

Simple API for easy integration

  • Intuitive JavaScript API
  • TypeScript support
  • Comprehensive documentation

Free vs. Premium

See what you get with our free version and what's available in our premium plans.

FeatureFree VersionPremium Plans
Data Persistence
Local Storage
Basic Encryption
Cloud Sync
Cross-Device Support
Storage LimitOnly LocalUnlimited
Advanced Security
Technical Support

Getting Started

Follow these simple steps to integrate Permadata into your project.

1. Installation

npm install permadata-local

Or include it directly in your HTML:

<script src="https://cdn.permadata.bajawell.com/permadata-local.min.js"></script>

2. Initialize

// ES Module
import { PermaData } from 'permadata-local';

// Initialize
const storage = new PermaData();

// Or with options
const storage = new PermaData({
  namespace: 'my-app',
  encryption: true
});

3. Basic Usage

// Store data
storage.set('user-preferences', { 
  theme: 'dark', 
  fontSize: 16 
});

// Retrieve data
const preferences = storage.get('user-preferences');
console.log(preferences); // { theme: 'dark', fontSize: 16 }

// Check if data exists
const hasPreferences = storage.has('user-preferences');
console.log(hasPreferences); // true

// Remove data
storage.remove('user-preferences');

// Clear all data
storage.clear();

4. Advanced Features

// Set data with expiration (in milliseconds)
storage.set('session-token', 'abc123', { 
  expires: 3600000 // 1 hour
});

// Listen for changes
storage.onChange('user-preferences', (newValue, oldValue) => {
  console.log('Preferences changed:', newValue);
});

// Get storage usage
const usage = storage.getUsage();
console.log(`Using ${usage.used}KB of ${usage.total}KB`);

Ready to Get Started?

Download the free version now or explore our premium plans for more features.

View Premium Plans