UNPKG

todos-list

Version:

This NPM module contains an array list of todos. It can be used with json-server(https://github.com/typicode/json-server)

17 lines (12 loc) 525 B
#Todos List This [NPM module](https://www.npmjs.com/package/todos-list) contains an array list of todos. It's especially useful when you're starting to learn a new framework and need some fake dummy data. It can be used with [json-server](https://github.com/typicode/json-server) like so: ```js const todoslist = require('todos-list'); //instead of specifying a file to the router method, you pass in the todos-list module const router = jsonServer.router(todoslist); ``` ##Install ```bash $ npm i todos-list --save ```