@copart/ops-core-server

0.1.50 • Public • Published
import { storage } from 'yard-local-storage'

storage.getItem('foo')

storage.setItem('bar', 'baz')
storage.setItem('ball', [0, 99, Infinity])
storage.setItem('bank', { name: 'Wells Fargo' })

// Method to get non-local (yet same-domain) storage data.
// Returns the flattened object version of the stored data.
storage.getStorage('dashboard')
storage.getStorage('login')

storage.getSelectedYardNumber()
storage.getHomeYardNumber()
storage.getPath()
storage.getConfig()
storage.setConfig()
storage.inspect()

Dependents (0)

Package Sidebar

Install

npm i @copart/ops-core-server

Weekly Downloads

13

Version

0.1.50

License

MIT

Unpacked Size

88.5 kB

Total Files

80

Last publish

Collaborators

  • omkarkyatham
  • saiteja.murarisetty
  • mapothani
  • shivani_padma
  • saiprasad_3103
  • dineshgrandhi--copart
  • yilinliu7
  • dbkokkirig
  • mdelong422
  • chandrashekar.gandla
  • ravikirancopart
  • akashpatti
  • nikhilnarula
  • shwetanairco
  • lizhangxcopart
  • raghurudraraju-copart
  • adganapath
  • jagannadhtipirneni
  • prasanth.ivs