API to be used on your favorite todos/goals application with your favorite framework, with localstorage support and tests 🦄
npm install todos-goals-api-localstorage
// Common JS
const API = require('todos-goals-api-localstorage')
// or with ES6 modules
import API from 'todos-goals-api-localstorage'
/*
API.fetchGoals()
API.fetchTodos()
API.saveTodo(name)
API.saveGoal(name)
API.deleteTodo(id)
API.deleteGoal(id)
API.saveTodoToggle(id)
*/