</>PackageGraphPackageGraph

accepts

npmv1.3.8

Higher-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.

2
Direct dependencies

Runtime packages this one declares itself.

4
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

305 KB
Install size

Unpacked size of this package plus its entire runtime tree.

2
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

MIT

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.

PackageWeekly downloadsDependentsLicenseLast release
acceptsthis page07MIT4 years ago
negotiator183.3M2MIT1 day ago
type-is130.9M3MIT1 day ago

Dependencies

Declared by accepts v1.3.8. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (10)

deep-equal 1.0.1eslint 7.32.0eslint-config-standard 14.1.1eslint-plugin-import 2.25.4eslint-plugin-markdown 2.2.1eslint-plugin-node 11.1.0eslint-plugin-promise 4.3.1eslint-plugin-standard 4.1.0mocha 9.2.0nyc 15.1.0

Used by

Popular packages that depend on accepts.

Relationship graph

Dependencies (left) and dependents (right) of accepts.

Frequently installed together

Release history

No releases in the last two years, typically about 38 days apart.

Recent versions of accepts
VersionPublishedSizeLicense
2.0.02 years ago17 KBMIT
1.3.8latest4 years ago16 KBMIT
1.3.77 years ago16 KBMIT
1.3.67 years ago16 KBMIT
1.3.58 years ago16 KBMIT
1.3.49 years agoMIT
1.3.310 years agoMIT
1.3.210 years agoMIT
1.3.110 years agoMIT
1.3.011 years agoMIT
1.2.1311 years agoMIT
1.2.1211 years agoMIT
1.2.1111 years agoMIT
1.2.1011 years agoMIT
1.2.911 years agoMIT

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.