express(express-generator)を使って東京メトロのリリースニュースを表示します
xmlモジュールのインストール
npm install --save xml2js
xmlを使っているサイトを見つける
今回は、
https://www.tokyometro.jp/news/rss/news.xml
このサイトを使います。
モジュールのロード
router内のjsファイル内で
var http = require('https');
var parseString = require('xml2js').parseString;
途中です。