import * as moment code example Example: import * as moment from 'moment'; npm install moment-strftime