[Node.js] brew install node したあとに表示される with-full-icu とは何か

memo.

[markdown]
インストール後にこんな表示が出ます。

“`prettyprinted
Please note by default only English locale support is provided. If you need
full locale support you should:
`brew reinstall node –with-full-icu`
“`

指示通りに実行すると `./configure –with-intl=full-icu` されたことが分かる。

“`prettyprinted
% brew reinstall node –with-full-icu
==> Reinstalling node with –with-full-icu
==> Downloading https://nodejs.org/dist/v5.3.0/node-v5.3.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/node-5.3.0.tar.gz
==> Downloading https://ssl.icu-project.org/files/icu4c/56.1/icu4c-56_1-src.tgz
Already downloaded: /Library/Caches/Homebrew/node–icu4c-56.1.tgz
==> ./configure –prefix=/usr/local/Cellar/node/5.3.0 –without-npm –with-intl=full-icu
==> make install
==> Downloading https://registry.npmjs.org/npm/-/npm-3.3.12.tgz
Already downloaded: /Library/Caches/Homebrew/node–npm-3.3.12.tgz
==> ./configure –prefix=/usr/local/Cellar/node/5.3.0/libexec/npm
==> make install
==> Caveats
Please note by default only English locale support is provided. If you need
full locale support you should:
`brew reinstall node –with-full-icu`
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
==> Summary
🍺 /usr/local/Cellar/node/5.3.0: 2827 files, 59M, built in 10.3 minutes
“`

`./configure –with-intl=full-icu` とは。

> * [nodejs/node](https://github.com/nodejs/node#intl-ecma-402-support)

Intl オブジェクトを使うと言語ロケールに依存した文字列比較、日付フォーマット、数値フォーマットができるようになる。

> * [Intl – JavaScript | MDN](https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/Intl)
> * [今からでも間に合う!Node.js v4&v5は何が変わったか? | HTML5Experts.jp](https://html5experts.jp/yosuke_furukawa/17791/)
[/markdown]