UNPKG

gm-storage

Version:

An ES6 Map wrapper for the synchronous userscript storage API

13 lines (9 loc) 304 B
/* gm-storage 4.1.1. @copyright 2020 chocolateboy. @license MIT */ 'use strict'; var gmStorageBase = require('./gm-storage-base.cjs'); const identity = (value) => value; class GMStorage extends gmStorageBase.GMStorageBase { parse = identity; stringify = identity; } exports.GMStorage = GMStorage;