Skip to content
Sections
>> Trisquel >> Pakketten >> etiona >> web >> node-accepts
etiona  ] [  nabia  ] [  aramo  ]
[ Bron: node-accepts  ]

Pakket: node-accepts (1.1.1-1)

higher-level content negotiation for Node.js

Higher level content negotiation 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.

Andere aan node-accepts gerelateerde pakketten

  • depends
  • recommends
  • suggests

node-accepts downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 5,2 kB46 kB [overzicht]