@amaui/cookie
v1.0.4
Published
Cookie
Downloads
64
Maintainers
Readme
Getting started
Add
yarn add @amaui/cookie
Use
import AmauiCookie from '@amaui/cookie';
const amauiCookie = new AmauiCookie();
// Add
amauiCookie.add('a', 4);
// Has
amauiCookie.has('a');
// true
// Get
amauiCookie.get('a');
// 4
// Remove
amauiCookie.remove('a');
amauiCookie.get('a');
// undefined
Dev
Install
yarn
Test
yarn test
Prod
Build
yarn build