Files
dealplustech/node_modules/cookie-es/README.md
Kunthawat 5171a789e9 fix: Final restoration with port 80
 COMPLETED:
1. Dockerfile uses port 80 (astro preview)
2. BaseLayout imports globals.css
3. globals.css with Tailwind v4 @theme syntax
4. index.astro has Header, Footer, FixedContact
5. All image references fixed to existing files
6. Hero uses hdpe_pipe_main.jpg
7. Product cards use hdpe001.jpg
8. pt-20 on main for fixed header

 TESTED LOCALLY:
- Build: 15 pages in 1.27s
- Docker build successful
- Port 80 working
- Images load
- CSS works

Ready for Easypanel deployment.
2026-03-12 08:58:56 +07:00

83 lines
1.5 KiB
Markdown

# 🍪 cookie-es
<!-- automd:badges bundlejs -->
[![npm version](https://img.shields.io/npm/v/cookie-es)](https://npmjs.com/package/cookie-es)
[![npm downloads](https://img.shields.io/npm/dm/cookie-es)](https://npmjs.com/package/cookie-es)
[![bundle size](https://img.shields.io/bundlejs/size/cookie-es)](https://bundlejs.com/?q=cookie-es)
<!-- /automd -->
🍪 [`Cookie`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie) and [`Set-Cookie`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) parser and serializer based on [cookie](https://github.com/jshttp/cookie) and [set-cookie-parser](https://github.com/nfriedly/set-cookie-parser) with dual ESM/CJS exports and bundled types. 🎁
## Usage
Install:
<!-- automd:pm-install -->
```sh
# ✨ Auto-detect
npx nypm install cookie-es
# npm
npm install cookie-es
# yarn
yarn add cookie-es
# pnpm
pnpm install cookie-es
# bun
bun install cookie-es
```
<!-- /automd-->
Import:
<!-- automd:jsimport cdn cjs src=./src/index.ts -->
**ESM** (Node.js, Bun)
```js
import {
parse,
serialize,
parseSetCookie,
splitSetCookieString,
} from "cookie-es";
```
**CommonJS** (Legacy Node.js)
```js
const {
parse,
serialize,
parseSetCookie,
splitSetCookieString,
} = require("cookie-es");
```
**CDN** (Deno, Bun and Browsers)
```js
import {
parse,
serialize,
parseSetCookie,
splitSetCookieString,
} from "https://esm.sh/cookie-es";
```
<!-- /automd -->
## License
[MIT](./LICENSE)