1.0.0 • Published 2 years ago

vfca-crud-helper-workshop v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

vfca-crud-helper-workshop

Vf code academy CRUD helper NPM module.

actions

  • createItems(fileName, item) - create a file and add an item - append if file exists

  • readItems(fileName, index) - read a file of items, optionally get a single item

  • updateItems(fileName, targetItem, newItem) - replace a named item in a file

  • deleteItems(fileName, targetItem) - delete a named item in a file