This is a front-end scaffold commonly used tool library, integrates the Cookie, with indexedDB and custom event operations