text: const low = require('lowdb')
  const FileSync = require('lowdb/adapters/FileSync')
  const path = require('path')
  
  const adapter = new FileSync('storage.json')
  const db = low(adapter)
  
  // Set some defaults (required if your JSON file is empty)
  db.defaults({ children: [], days: [] }).write()
  
  // Add a post
  // db.get('children').push({ id: 1, title: 'lowdb is awesome' }).write()
  
  // Set a user using Lodash shorthand syntax
  // db.set('user.name', 'typicode').write()
  
  // Increment count
  // db.update('count', (n) => n + 1).write()
  
  module.exports = {
    db: db,
  }
  