utils

Cookies

keys()

import { cookies } from '@ataola/utils';
const value = cookies.keys(); // []

get(key)

import { cookies } from '@ataola/utils';
const value = cookies.get('name'); // null

has(key)

import { cookies } from '@ataola/utils';
const value = cookies.has('name'); // false

remove(key, path, domain)

import { cookies } from '@ataola/utils';
const value = cookies.remove('name'); // false

set(key, value, end, path, domain, secure)

import { cookies } from '@ataola/utils';
const value = cookies.set('name', 'ataola'); // true