Express
Node.js のための高速で、革新的な、最小限のWebフレームワーク
Node.js のための高速で、革新的な、最小限のWebフレームワーク
いや、Expressサーバー無理だったが。Deno 1.28.3ではExpressは動かない機能がある。
Deno 1.28におけるnpmの互換性はまだ完璧ではなく、いくつかのエッジケースによって非互換のnpmモジュールもある
Expressはエッジケースとは言い難くないか……?
まだDenoでnpmを使っていくのは難しいという印象。
引数nameで渡された文字列の設定を有効化する。nameの文字列はapp settings tableに記載。app.enable('trust proxy')のように呼び出す。
Sets the Boolean setting
nametotrue, wherenameis one of the properties from the app settings table. Callingapp.set('foo', true)for a Boolean property is the same as callingapp.enable('foo').