caseless
npmv0.12.0Caseless object set/get/has, very useful when working with HTTP headers.
Not recommended for new projects
No — caseless should not be adopted for new projects. Last published 3513 days ago.
- AAdoption: grade A, Excellent.
15.2M downloads per week and 1 known dependents.
- FMaintenance: grade F, Failing.
Last published 3513 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies.
- ASupply chain: grade A, Excellent.
No install scripts, 3 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
Apache-2.0 — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding caseless to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
Quick start
A usage example from the caseless README.
var headers = {}
, c = caseless(headers)
;
c.set('a-Header', 'asdf')
c.get('a-header') === 'asdf'caseless vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| caselessthis page | 15.2M | 1 | Apache-2.0 | 9 years ago |
| content-type | 191.4M | 6 | MIT | 1 day ago |
| negotiator | 183.3M | 2 | MIT | 1 day ago |
| node-fetch | 172.9M | 9 | MIT | 1 day ago |
| undici | 158.5M | 15 | MIT | 1 day ago |
| http-errors | 149.4M | 7 | MIT | 1 day ago |
Dependencies
Declared by caseless v0.12.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (1)
Used by
Popular packages that depend on caseless.
Relationship graph
Dependencies (left) and dependents (right) of caseless.
Frequently installed together
RFC9562 UUIDs
The ultimate javascript content-type utility.
Port of jQuery.extend for node.js and the browser
HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module.
Like JSON.stringify, but doesn't blow up on circular refs.
Signs and prepares requests using AWS Signature Version 4
Reference implementation of Joyent's HTTP Signature scheme.
AWS signing. Originally pulled from LearnBoost/knox, maintained as vendor in request, now a standalone module.
OAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module.
Extremely fast HTTP Archive (HAR) validator using JSON Schema
A library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications.
A stream that emits multiple other streams one after another.
Release history
No releases in the last two years, typically about 60 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 0.12.0latest | 9 years ago | — | Apache-2.0 |
| 0.11.0 | 11 years ago | — | Apache-2.0 |
| 0.10.0 | 11 years ago | — | BSD |
| 0.9.0 | 11 years ago | — | BSD |
| 0.8.0 | 11 years ago | — | BSD |
| 0.7.0 | 12 years ago | — | BSD |
| 0.6.0 | 12 years ago | — | BSD |
| 0.5.0 | 12 years ago | — | BSD |
| 0.4.0 | 12 years ago | — | BSD |
| 0.3.0 | 12 years ago | — | BSD |
| 0.2.0 | 12 years ago | — | BSD |
| 0.1.0 | 13 years ago | — | BSD |
Overview
caseless is an npm package that caseless object set/get/has, very useful when working with HTTP headers. It is extremely widely used, with about 15.2M downloads per week and 1 known dependents in the graph. The latest version is 0.12.0, released under the Apache-2.0 license.
Who should use it
Teams working in the npm ecosystem who need caseless object set/get/has, very useful when working with HTTP headers 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 (15.2M weekly downloads).
- Clear open-source license (Apache-2.0).
- Lean dependency tree (1 direct dependencies).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use caseless?
No — caseless should not be adopted for new projects. Last published 3513 days ago.
How do I install caseless?
Run `npm install caseless` to add caseless to your npm project.
What license is caseless released under?
caseless is distributed under the Apache-2.0 license.
How popular is caseless?
caseless has approximately 15,228,764 downloads per week and 1 known dependent packages.
Is caseless still maintained?
The most recent release of caseless (v0.12.0) was published 9 years ago.
Does caseless run install scripts?
No. caseless does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.