UNPKG

loopback-ds-timestamp-mixin

Version:

A mixin to automatically generate created and updated Date attributes for loopback Models

4 lines (2 loc) 102 B
import debug from 'debug'; export default (name = 'time-stamp') => debug(`loopback:mixins:${name}`);