mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
9 lines
247 B
JavaScript
9 lines
247 B
JavaScript
import lodash from 'lodash';
|
|
import { LowSync } from 'lowdb';
|
|
export default class LowdashAdapter extends LowSync {
|
|
constructor(adapter, defaultData = {}) {
|
|
super(adapter, defaultData);
|
|
this.chain = lodash.chain(this).get('data');
|
|
}
|
|
}
|