Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> web >> node-accepts
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: node-accepts  ]

软件包: 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.

其他与 node-accepts 有关的软件包

  • 依赖
  • 推荐
  • 建议

下载 node-accepts

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 5.2 kB46 kB [文件列表]