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