js import moment and use properly code example Example: import * as moment from 'moment'; npm install moment-strftime