accepts
npmv1.3.8Higher-level content negotiation
Not recommended for new projects
No — accepts should not be adopted for new projects. Last published 1680 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- FMaintenance: grade F, Failing.
Last published 1680 days ago.
- AWeight: grade A, Excellent.
Pulls in 4 transitive packages, about 305 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — 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 accepts 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.
Licenses in the dependency tree
Every license you inherit by installing accepts, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node >= 0.6
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
Quick start
A usage example from the accepts README.
var accepts = require('accepts')accepts 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 |
|---|---|---|---|---|
| acceptsthis page | 0 | 7 | MIT | 4 years ago |
| negotiator | 183.3M | 2 | MIT | 1 day ago |
| type-is | 130.9M | 3 | MIT | 1 day ago |
Dependencies
Declared by accepts v1.3.8. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (2)
Dev (10)
Used by
Popular packages that depend on accepts.
Fast, unopinionated, minimalist web framework
node.js realtime framework server
Koa web app framework
Development-only error handler middleware
The realtime engine behind Socket.IO. Provides the foundation of a bidirectional connection between client and server
The Expo CLI
🚇 The JavaScript bundler for React Native.
Relationship graph
Dependencies (left) and dependents (right) of accepts.
Frequently installed together
The Expo SDK
Expo Router is a file-based router for React Native and web applications.
Lightweight debugging utility for Node.js and the browser
TypeScript definitions for ws
TypeScript definitions for node
Better streaming static file server with Range and conditional-GET support
High performance middleware framework
Get details about the current Continuous Integration environment
TypeScript-first schema declaration and validation library with static type inference
Create clickable links in the terminal
A library for interacting with the app.json
Best-effort discovery of the machine's default gateway and local network IP exclusively with UDP sockets.
Release history
No releases in the last two years, typically about 38 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 2.0.0 | 2 years ago | 17 KB | MIT |
| 1.3.8latest | 4 years ago | 16 KB | MIT |
| 1.3.7 | 7 years ago | 16 KB | MIT |
| 1.3.6 | 7 years ago | 16 KB | MIT |
| 1.3.5 | 8 years ago | 16 KB | MIT |
| 1.3.4 | 9 years ago | — | MIT |
| 1.3.3 | 10 years ago | — | MIT |
| 1.3.2 | 10 years ago | — | MIT |
| 1.3.1 | 10 years ago | — | MIT |
| 1.3.0 | 11 years ago | — | MIT |
| 1.2.13 | 11 years ago | — | MIT |
| 1.2.12 | 11 years ago | — | MIT |
| 1.2.11 | 11 years ago | — | MIT |
| 1.2.10 | 11 years ago | — | MIT |
| 1.2.9 | 11 years ago | — | MIT |
Overview
accepts is an npm package that higher-level content negotiation. It has 7 known dependents in the graph. The latest version is 1.3.8, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need higher-level content negotiation 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 (MIT).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Keywords
Frequently asked questions
Should I use accepts?
No — accepts should not be adopted for new projects. Last published 1680 days ago.
How do I install accepts?
Run `npm install accepts` to add accepts to your npm project.
How many dependencies does accepts have?
accepts declares 12 direct dependencies and pulls in 4 packages in total once its runtime tree is resolved totalling about 305 KB on disk.
What license is accepts released under?
accepts is distributed under the MIT license.
How popular is accepts?
npm does not publish download counts. Within PackageGraph's crawl, 7 known packages depend on accepts.
Is accepts still maintained?
The most recent release of accepts (v1.3.8) was published 4 years ago.
Does accepts run install scripts?
No. accepts does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.