1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
Source: node-accepts
Section: javascript
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Uploaders: Yadd <yadd@debian.org>
Testsuite: autopkgtest-pkg-nodejs
Build-Depends: debhelper-compat (= 13)
, dh-sequence-nodejs
, mocha <!nocheck>
, node-deep-equal <!nocheck>
, node-mime-types <!nocheck>
, node-negotiator <!nocheck>
, node-should <!nocheck>
Standards-Version: 4.6.0
Rules-Requires-Root: no
Homepage: https://github.com/jshttp/accepts
Vcs-Git: https://salsa.debian.org/js-team/node-accepts.git
Vcs-Browser: https://salsa.debian.org/js-team/node-accepts
Package: node-accepts
Architecture: all
Depends: ${misc:Depends}
, node-mime-types
, node-negotiator
Multi-Arch: foreign
Description: higher-level content negotiation for Node.js
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.
|