タグ

2021年8月29日のブックマーク (2件)

  • morgan

    morgan HTTP request logger middleware for node.js Named after Dexter, a show you should not watch until completion. API morgan(format, options) Create a new morgan logger middleware function using the given format and options. The format argument may be a string of a predefined name (see below for the names), a string of a format string, or a function that will produce a log entry. The format func

    morgan
    Akaza
    Akaza 2021/08/29
    expressのロガーミドルウェア。
  • nodemonとは? - Qiita

    メモ残しておきます Koa.jsのチュートリアルを進めていると序盤でnodemonという見慣れないツールが出てきたのでメモを残しておきます。 nodemonとは? ソースを監視して、自動でサーバーを再起動してくれるツール。 nodeの代わりにnodemonを使ってコードを走らせると、コードの変更時にプロセスが自動で再起動する。 ターミナルに以下を打てばインストールできる。 特徴 アプリケーションの自動再起動 監視のためにファイルの拡張子を検出 node&coffeescriptがデフォのサポート。しかし、実行可能はファイルであれば走らせる事ができる。 特定のファイルやディレクトリを無視する 特定のディレクトリを監視する サーバーアプリケーションまたは1回のユーティリティとREPLを実行 nodeのアプリでは必須 オープンソースであり、githubを利用可能 実際に変更があると。

    nodemonとは? - Qiita