your-cookie
v0.1.1
Published
your-cookie
Downloads
342
Readme
your-cookie
npm i your-cookie
cookie
Cookie 操作
详细文档 https://www.npmjs.com/package/js-cookie
import cookie from 'your-cookie'
cookie.set('name', 'value')
cookie.set('name', 'value', {expires: 7, path: ''})
cookie.get('name')
cookie.getJSON()
cookie.getJSON('name')
cookie.remove('name', {path: ''})