kv-storage-polyfill
kv-storage-polyfill copied to clipboard
ReferenceError: self is not defined
I tried to use this polyfill with Node.js, but trying to perform a .get
causes an exception. Here's a repro:
const storage = require('kv-storage-polyfill').default
storage.get("a")
This happens on Node.js v12.5.0 on macOS.