Bug#744765: ITP: node-accepts -- higher-level content negotiation for Node.js
Package: wnpp
Severity: wishlist
Owner: Leo Iannacone <l3on@ubuntu.com>
* Package name : node-accepts
Version : 1.0.1
Upstream Author : Jonathan Ong <me@jongleberry.com>
* URL : https://github.com/expressjs/accepts
* License : Mit
Programming Lang: JavaScript
Description : higher-level content negotiation for Node.js
Higher level content negotation based on negotiator.
.
In addition to negotatior, 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.
Reply to: