Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.
/ persist Public archive

A typescript decorator to store any variable in localstorage in a typesafe way

Notifications You must be signed in to change notification settings

YoeriVD/persist

Repository files navigation

Node.js Package

persist

A typescript decorator to store any variable in localstorage in a typesafe way

usage

import { Persist } from '@yoerivd/persist';

export class ExampleComponent  {
  @Persist(false) toggle;
  @Persist(1) someNumber;
}

About

A typescript decorator to store any variable in localstorage in a typesafe way

Resources

Stars

Watchers

Forks

Packages

No packages published