Skip to content
Sections
>> Trisquel >> パッケージ >> nabia >> web >> node-accepts
etiona  ] [  nabia  ] [  aramo  ]
[ ソース: node-accepts  ]

パッケージ: node-accepts (1.3.7-1)

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.

その他の node-accepts 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: node-mime-types (>= 2.1.18)
    ultimate JavaScript content-type utility - Node.js module
  • dep: node-negotiator (>= 0.6.1)
    HTTP content negotiator for Node.js
  • dep: nodejs
    evented I/O for V8 javascript - runtime executable
    以下のパッケージによって提供される仮想パッケージでもあります: node-pegjs

node-accepts のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 6.2 kB26 kB [ファイル一覧]