1.0.1 • Published 2 years ago

vfca-crud-helper-hugocowan v1.0.1

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

vfca-crud-helper

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