0.1.0-module.4 • Published 2 years ago
@ponomarevlad/local-storage-polyfill v0.1.0-module.4
Local Storage Polyfill
The "localStorage" polyfill for Node.js.
Polyfill
// jest.setup.js
import '@mswjs/local-storage-polyfill/global'
Node.js
import { Storage } from '@mswjs/local-storage-polyfill'
const storage = new Storage()
storage.setItem('name', 'John')
0.1.0-module.3
2 years ago
0.1.0-module.4
2 years ago
0.1.0-module.2
2 years ago
0.1.0-module.1
2 years ago
0.1.0-module
2 years ago
0.1.0
2 years ago