todos-goals-api-localstorage

1.0.0 • Public • Published

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)
*/

Readme

Keywords

none

Package Sidebar

Install

npm i todos-goals-api-localstorage

Weekly Downloads

0

Version

1.0.0

License

AGPL-3.0

Unpacked Size

9.89 kB

Total Files

6

Last publish

Collaborators

  • kooltheba