npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

greatefue-webstorage

v1.0.0

Published

A package that handles LocalStorage, SessionStorage encryption and decryption.

Downloads

5

Readme

Table of Contents

  1. Installation
  2. Usage
  3. Complete Usage Table
  4. Releases
  5. Author
  6. License
  7. Team

Installation

$ yarn add greatefue-webstorage
$ npm i greatefue-webstorage

Usage

In your .ts or .js file,

  1. import the package
import { LS_Save, LS_Get } from 'greatefue-webstorage';
  1. Call the function
LS_Save("key", "data"); //O8tT%PnlxR%M2#dwcuA7Qmzv+sbCk={(-=_!uV@oPHCjX>N{oT@ms+)*(%%^f'I@Dm*(Ym!ER9CpQ3VOGIXV4+G2Ol1iYZj@#$_&
console.log(LS_Get("key")); //data

Complete Usage Table

|Functions | Return Data type | Description | Example | | ------------ |:--------------------:| :------------------------------------------------------- | :-------------------------------------- | | LS_Save | void | Encrypt and save string value to local storage | LS_Save("key", "data"); | | LS_Get | string | Get and decrypt string value from local storage | LS_Get("key") | | LS_SaveObject | void | Encrypt and save object value to local storage | LS_SaveObject("key", {}); | | LS_GetObject | object | Get and decrypt object value from local storage | LS_GetObject("key") | | LS_SaveArray | void | Encrypt and save array value to local storage | LS_SaveArray("key", []); | | LS_GetArray | array | Get and decrypt array value from local storage | LS_SaveArray("key") | | SS_Save | void | Encrypt and save string value to session storage | SS_Save("key", "data"); | | SS_Get | string | Get and decrypt string value from session storage | SS_Get("key") | | SS_SaveObject | void | Encrypt and save object value to session storage | SS_SaveObject("key", {}); | | SS_GetObject | object | Get and decrypt object value from session storage | SS_GetObject("key") | | SS_SaveArray | void | Encrypt and save array value to session storage | SS_SaveArray("key", []); | | SS_GetArray | array | Get and decrypt array value from session storage | SS_SaveArray("key") |

Author

Great Efue

Please consider supporting me on Patreon. Become a Patron of Great Efue!

License

FOSSA Status

Team

These are folks that keep the project moving and are resources for help.

Technical Steering Committee (TSC)

The people who manage releases, review feature requests, and meet regularly to ensure GreatEfue-webstorage is properly maintained.

Reviewers

The people who review and implement new features.

Committers

The people who review and fix bugs and help triage issues.