spikebrehm

spikebrehm/set-cookie

Set a cookie using the same API on both the client and the server.

JavaScript
35
7
MIT License

This project provides a unified `setCookie` function that works identically in both Node.js server environments and web browsers, abstracting away the differences between `http.ServerResponse` headers and `document.cookie`. It's designed for full-stack JavaScript developers who need a consistent API to set cookies across client and server code, particularly in frameworks like Express

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of spikebrehm/set-cookie

Account's avatar
simple, flexible, fun test framework
Account's avatar
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Account's avatar
JavaScript test spies, stubs and mocks.
Account's avatar
elegant & feature rich browser / node HTTP with a fluent API
Account's avatar
browser-side require() the node way
Account's avatar
A simple zero-configuration command-line http server

Support the repos that depend on this repository

Top contributors

spikebrehm's profile
spikebrehm
11 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet