Update app and tooling
This commit is contained in:
parent
3046531bdd
commit
e620ec7349
4950 changed files with 2975120 additions and 10 deletions
52
node_modules/cookie-es/README.md
generated
vendored
Normal file
52
node_modules/cookie-es/README.md
generated
vendored
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
# 🍪 cookie-es
|
||||
|
||||
<!-- automd:badges bundlejs packagephobia codecov -->
|
||||
|
||||
[](https://npmjs.com/package/cookie-es)
|
||||
[](https://npm.chart.dev/cookie-es)
|
||||
[](https://bundlejs.com/?q=cookie-es)
|
||||
[](https://packagephobia.com/result?p=cookie-es)
|
||||
[](https://codecov.io/gh/unjs/cookie-es)
|
||||
|
||||
<!-- /automd -->
|
||||
|
||||
ESM ready [`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 built-in types.
|
||||
|
||||
## Usage
|
||||
|
||||
Install:
|
||||
|
||||
```sh
|
||||
# ✨ Auto-detect (npm, yarn, pnpm, bun, deno)
|
||||
npx nypm install cookie-es
|
||||
```
|
||||
|
||||
Import:
|
||||
|
||||
**ESM** (Node.js, Bun, Deno)
|
||||
|
||||
```js
|
||||
import {
|
||||
parse,
|
||||
serialize,
|
||||
parseSetCookie,
|
||||
splitSetCookieString,
|
||||
} from "cookie-es";
|
||||
```
|
||||
|
||||
**CDN** (Deno, Bun and Browsers)
|
||||
|
||||
```js
|
||||
import {
|
||||
parse,
|
||||
serialize,
|
||||
parseSetCookie,
|
||||
splitSetCookieString,
|
||||
} from "https://esm.sh/cookie-es";
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
[MIT](./LICENSE)
|
||||
|
||||
Based on [jshttp/cookie](https://github.com/jshttp/cookie) (Roman Shtylman and hristopher Wilson) and [nfriedly/set-cookie-parser](https://github.com/nfriedly/set-cookie-parser) (Nathan Friedly).
|
||||
Loading…
Add table
Add a link
Reference in a new issue