Appearance
Web Platform 🕸 ​
This package exports a number of utilities that may be useful while operating on the web platform. These include things like:
- Query string interaction
- Cache interaction
Usage ​
js
import {
persistSerialToCache,
retrieveSerialFromCache,
retrieveSerialFromQueryString,
} from '@fingermarkglobal/platforms.web';
(async () => {
await persistSerialToCache('XXX');
const serialFromCache = await retrieveSerialFromCache();
const serialFromQueryString = await retrieveSerialFromQueryString();
console.log(serialFromCache, serialFromQueryString); // XXX yum...
})();