1.0.11 • Published 8 months ago

zymber-react-utils v1.0.11

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

zymber-react-utils

This library provides utilities for handling cookies, and it will soon be extended to include app version and IndexedDB storage features.

npm version install size

Table of Contents

Introduction

zymber-react-utils is a utility library for managing cookies efficiently in JavaScript and TypeScript projects. The library plans to extend its capabilities to handle app versions and provide IndexedDB storage solutions.

Installation

npm install zymber-react-utils

Features

Cookie Handling

  • Set a cookie with various options
  • Retrieve a cookie value by key
  • Remove a cookie by key
  • Remove multiple cookies by keys array

App Version (Coming Soon)

  • Get the current app version

IndexedDB Storage (Coming Soon)

  • CRUD operations with IndexedDB

Usage

Here is a quick example demonstrating how you can use this library for cookie operations:

import cookie from 'zymber-react-utils';

// Setting a cookie
cookie.setCookie('your_key', 'your_value');

// Retrieving a cookie
const value = cookie.getCookie('your_key');  // Output: 'your_value'

// Removing a cookie
cookie.removeCookie('your_key');

App Version Functions (Coming Soon)

(Description here)

IndexedDB Functions (Coming Soon)

(Description here)

1.0.11

8 months ago

1.0.10

8 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago