@44north/cookies 中文文档教程
@44north/cookies
帮助管理应用程序中 cookie 的模块
Install
npm install @44north/cookies
或
yarn add @44north/cookies
Usage
import { Cookies } from "@44north/cookies";
const cookies = new Cookies({
sameSite: "Strict"
});
cookies.setCookie("foo", "bar");
console.log(cookies.getCookie("foo")); // -> bar
@44north/cookies
A Module to aid in managing cookies in your applications
Install
npm install @44north/cookies
or
yarn add @44north/cookies
Usage
import { Cookies } from "@44north/cookies";
const cookies = new Cookies({
sameSite: "Strict"
});
cookies.setCookie("foo", "bar");
console.log(cookies.getCookie("foo")); // -> bar
更多
你可能也喜欢
- 11ty-fast-dev 中文文档教程
- @123swap/swap-core 中文文档教程
- @352inc/react-bootstrap-table2-paginator 中文文档教程
- @4geit/rct-chatbox-list-store 中文文档教程
- @a-z.ren/event-hub 中文文档教程
- @aabuhijleh/forcefocus 中文文档教程
- @aboviq/kollektor 中文文档教程
- @abtnode/static-server 中文文档教程
- @acas-digital-innovation/acas-frontend 中文文档教程
- @aconex/styleguide 中文文档教程