1.0.0 • Published 4 years ago
todos-goals-api-localstorage v1.0.0
todos-goals-api-localstorage 📦
API to be used on your favorite todos/goals application with your favorite framework, with localstorage support and tests 🦄
Installation
npm install todos-goals-api-localstorage
Usage
// 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)
*/
1.0.0
4 years ago