developit/histore
developit/histore has 671 GitHub stars and 19 forks. GitHot measured 0 stars in 24 hours, 0 in 7 days, and 0 in 15 days. Last checked 2026-11-23 03:52 UTC. Last push 2018-05-12.
์ธก์ ๋ ์คํ ์ฆ๊ฐ
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- ๊ธฐ๋ก ์์ง ์ค
์๋ก ๊ฒน์น๋ ๊ธฐ๊ฐ์ ์์ฆ๊ฐ๋์ด๋ฉฐ ์ผ๋ณ ํฉ๊ณ๊ฐ ์๋๋๋ค. ์ธก์ ๊ฐ์ด ์์ผ๋ฉด ๋น์ ๋ก๋๋ค. ์คํ๋ ๊ด์ฌ๋๋ฅผ ๋ํ๋ด๋ฉฐ ํ์ง์ ๋ณด์ฅํ์ง ์์ต๋๋ค.
์๊ฐ
๐ฌ 200b key-value store backed by navigation state
๋ฐ์ดํฐREADME.md
Original
Histore
Histore [hisยทtoยทry]: a 200b key-value store backed by navigation state.
Does the fact that sessionStorage/localStorage is shared across tabs have you down?
Don't worry, here's a strange but widely supported way to store 640kb of object data in a page's navigation state.
Usage
import histore from 'histore'
let storage = histore()
storage.set('foo', 'bar')
storage.get('foo') // 'bar'
storage.set('obj', { any: 'object' })
storage.get('obj').any // 'object'
Interestingly, due to the way history.replaceState works, storing objects will implicitly clone them using the Structured Clone algorithm.
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Changelog
Every release, along with the migration instructions, is documented on the Github Releases page.
License
๊ด๋ จ ํ๋ก์ ํธ ์ดํด๋ณด๊ธฐ
๋ถ๋ฌ์ค๋ ์คโฆ