1.0.1 • Published 7 years ago

huyue-tools-cookie v1.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

使用说明

js 操作cookie 常用方法集合

  1. 安装
npm i huyue-tools-cookie --save
  1. 引入
import hyCookie from 'huyue-tools-cookie'
  1. 使用
hyCookie.get('cookieName');

hyCookie.set('cookieName','cookieValue',exdays);
// exdays 过期时间,单位是天

  1. 更新
npm update huyue-tools-cookie
1.0.1

7 years ago

1.0.0

7 years ago