1.1.1 • Published 2 years ago
vf-crud-helper v1.1.1
vf-crud-helper
A Node.js NPM module for managing lists of items.
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