cookie-observable
v1.2.1
Published
Cookie as an observable
Downloads
309
Maintainers
Readme
Cookie Observable
Read cookie as an observable
Install
npm install cookie-observable
Use (Choose either one)
1. observable
getCookieObservable().subscribe(cookie => console.log(cookie));
2. callback
cookieOnChange(cookie => console.log(cookie));