cookie-signature
npmv1.2.2Sign and unsign cookies
Overview
cookie-signature is an npm package that sign and unsign cookies. It is extremely widely used, with about 111.3M downloads per week and 1 known dependents in the graph. The latest version is 1.2.2, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need sign and unsign cookies and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (111.3M weekly downloads).
- Clear open-source license (MIT).
- Lean dependency tree (2 direct dependencies).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of cookie-signature.
Dependencies
Dev (2)
Used by
Popular packages that depend on cookie-signature.
Alternatives to cookie-signature
Frequently installed together
Lightweight debugging utility for Node.js and the browser
The ultimate javascript content-type utility.
HTTP server cookie parsing and serialization
A querystring parser that supports nesting and arrays, with a depth limit
HTTP status utility
Create HTTP error objects
Create and parse HTTP Content-Type header
An AST-based pattern checker for JavaScript.
Run a function exactly one time
Deprecate all the things
Encode a URL to a percent-encoded form, excluding already-encoded sequences
Node.js final http responder
Version history
| Version | Published | License |
|---|---|---|
| 1.2.2latest | 1 year ago | MIT |
| 1.0.7 | 3 years ago | MIT |
| 1.2.1 | 3 years ago | MIT |
| 1.2.0 | 4 years ago | MIT |
| 1.1.0 | 8 years ago | MIT |
| 1.0.6 | 11 years ago | MIT |
| 1.0.5 | 12 years ago | MIT |
| 1.0.4 | 12 years ago | MIT |
| 1.0.3 | 12 years ago | MIT |
| 1.0.2 | 12 years ago | MIT |
| 1.0.1 | 13 years ago | MIT |
| 1.0.0 | 13 years ago | MIT |
| 0.0.1 | 13 years ago | MIT |
Maintainers
Frequently asked questions
How do I install cookie-signature?
Run `npm install cookie-signature` to add cookie-signature to your npm project.
What license is cookie-signature released under?
cookie-signature is distributed under the MIT license.
How popular is cookie-signature?
cookie-signature has approximately 111,268,857 downloads per week and 1 known dependent packages.