Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

accept

Package Overview
Dependencies
2
Maintainers
4
Versions
15
Issues
File Explorer

Advanced tools

accept

HTTP Accept-* headers parsing

    3.1.3latest

Version published
Maintainers
4
Weekly downloads
97,712
increased by20.41%

Weekly downloads

Readme

Source

Accept

HTTP Accept-* headers parsing.

npm version Build Status

Lead Maintainer - Eran Hammer

Introduction

Accept helps to answer the question of how best to respond to a HTTP request, based on the requesting browser's capabilities. Accept will parse the headers of a HTTP request and tell you what the preferred encoding is, what language should be used, and what charsets and media types are accepted.

Additional details about Accept headers and content negotiation can be found in IETF RFC 7231, Section 5.3.

API

For information on using Accept see the API documentation.

Keywords

FAQs

What is accept?

HTTP Accept-* headers parsing

Is accept popular?

The npm package accept receives a total of 79,610 weekly downloads. As such, accept popularity was classified as popular.

Is accept well maintained?

We found that accept demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 4 open source maintainers collaborating on the project.

Last updated on 03 Nov 2018

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc