カテゴリー : 2019年 12月

ESLint を Express (Node.js) プロジェクトへインストール・初期設定

ESLint を Express (Node.js) プロジェクトへインストール、初期設定した手順をご紹介します。

JavaScript

続きを読む

[JavaScript] Array.includes vs Array.indexOf パフォーマンス比較

JavaScript の Array.includes と Array.indexOf の実行時間を jsPerf で確認してみました。

JavaScript

続きを読む

[Mongoose] (node:42424) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor. の解決方法

Express (Node.js) + Mongoose (MongoDB) という構成の Web アプリケーションで、
(node:42424) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
というエラーが発生したときの解決方法をご紹介します。

mongoose | マングース

続きを読む

[Mongoose] (node:42286) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect. の解決方法

Express (Node.js) + Mongoose (MongoDB) という構成の Web アプリケーションで、
(node:42286) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
というエラーが発生したときの解決方法をご紹介します。

mongoose | マングース

続きを読む

Amazon Elasticsearch Service 2.3 で [script_exception] scripts of type [inline], operation [search] and lang [mustache] are disabled エラー

Amazon Elasticsearch Service 2.3 で [script_exception] scripts of type [inline], operation [search] and lang [mustache] are disabled エラーが発生したときの対応方針について考えてみました。

AWS | Amazon Web Services

続きを読む

[JavaScript] CSS background-image から URL だけ取得する方法

JavaScript で CSS background-image から URL だけ取得する方法をご紹介します。

JavaScript

続きを読む

MongoDB クエリの総実行時間を計測する方法

MongoDB クエリの総実行時間を計測する方法をご紹介します。

MongoDB | モンゴディービー

続きを読む

Sentry raven-js で特定のブラウザの JavaScript エラーを送信しない方法

Sentry raven-js で特定のブラウザの Client-side JavaScript エラーを送信しないサンプルコードをご紹介します。

Sentry

続きを読む

無料、長時間、複数人で使える Web ビデオ会議ツール

無料、長時間、複数人で使える Web 会議 (チャット + ビデオ通話) ツールをご紹介します。

Google ハングアウト | Google Hangouts

続きを読む

WebSocket 自動再接続をいい感じに処理する JavaScript 製ライブラリ ReconnectingWebSocket

WebSocket 自動再接続をいい感じに処理する JavaScript 製ライブラリ ReconnectingWebSocket をご紹介します。

WebSocket

続きを読む