1.0.0 • Published 3 years ago
vfca-crud-helper v1.0.0
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
1.0.0
3 years ago