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 3464 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- FMaintenance: grade F, Failing.
Last published 3464 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 | 0 | 1 | Apache-2.0 | 9 years ago |
| fresh | 121.2M | 3 | MIT | 4 hours ago |
| axios | 113.9M | 4 | MIT | 4 hours ago |
| whatwg-mimetype | 108.4M | 3 | MIT | 4 hours ago |
| vary | 98.9M | 4 | MIT | 4 hours ago |
| forwarded | 91.1M | 1 | MIT | 4 hours 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
A querystring parser that supports nesting and arrays, with a depth limit
A stream that emits multiple other streams one after another.
Signs and prepares requests using AWS Signature Version 4
A library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications.
Implementation of Function.prototype.bind
Port of jQuery.extend for node.js and the browser
Reference implementation of Joyent's HTTP Signature scheme.
Implements performance.now (based on process.hrtime).
OAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module.
Detect whether or not an object is a Typed Array
Like JSON.stringify, but doesn't blow up on circular refs.
HTTP Agent that keeps socket connections alive between keep-alive requests. Formerly part of mikeal/request, now a standalone module.
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 | 11 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 has 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 focused 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
- 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 3464 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?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on caseless.
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.