UNPKG

cookie-storage-v2

Version:

A lightweight JavaScript UMD to handle cookies through Web Storage Interface

17 lines (10 loc) 394 B
# Cookie Storage ## 1.1.0 ### Improvements 1. Upgraded to Webpack 3, ESLint 4. 1. Refactored and decoupled inner modules. ## 1.0.1 ### Features 1. Allows setting `{expires, domain, path, secure}` as metadata to configure the cookies. 1. Implements an API similar to [Web Storage](https://developer.mozilla.org/en-US/docs/Web/API/Storage) interface. 1. Saves and retrieves data as `JSON`.