0.0.4 • Published 6 months ago

hash-data-manager v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Hash Data Manager

A simple module for handling data in the URL hash. This module provides functions to load and save data from/to the URL hash.

Demo

Installation

You can install the module using npm:

npm install hash-data-manager

Usage

import { load, save } from 'hash-data-manager';

// Example: Load data from the URL hash
const loadedData = load();
if (loadedData) {
  console.log('Loaded data:', loadedData);
} else {
  console.log('No data found in the URL hash.');
}

// Example: Save data to the URL hash
const dataToSave = { key: 'value' };
save(dataToSave);
console.log('Data saved to the URL hash.');
0.0.4

6 months ago

0.0.3

6 months ago

0.0.2

6 months ago

0.0.1

6 months ago