node-accepts

higher-level content negotiation for Node.js

Description

Higher level content negotiation based on negotiator.

In addition to negotiator, it allows:
 - Allows types as an array or arguments list, ie
   `(['text/html', 'application/json'])`
   as well as `('text/html', 'application/json')`.
 - Allows type shorthands such as `json`.
 - Returns `false` when no types match
 - Treats non-existent headers as `*`

Node.js is an event-based server-side JavaScript engine.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/jshttp/accepts


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install node-accepts