0.4.0 • Published 4 years ago
cookie-meta v0.4.0
cookie-meta
This is a meta-package of cookie and js-cookie with TypeScript support.
Please go to cookie and js-cookie for documentations.
import { parse, serialize } from 'cookie';
import { set, get, remove, getJSON, noConflict, withConverter } from 'js-cookie';
export type Cookie = {
[key: string]: string;
};
export const cookie = {
parse,
serialize,
set,
get,
remove,
getJSON,
noConflict,
withConverter,
};