1.0.1 • Published 2 years ago
vfca-crud-helper-hugocowan v1.0.1
vfca-crud-helper
VF code academy CRUD helper NPM module
actions
createItems(fileName, item)
- create a file and add an item - append if file existsreadItems(fileName, index)
- read a file of items, optionally get a single itemupdateItems(fileName, targetItem, newItem)
- replace a named item in a filedeleteItems(fileName, targetItem)
- delete a named item in a file