Package/Methods

Package/Methods

Methods

(static) package/update(packageName, field, value) → {Object}

updates the data stored for a certain Package.

Source:
Since:
  • 1.5.1
Parameters:
Name Type Description
packageName String

the name of the Package to update.

field String

the part of the Package's data that is to be updated.

value Object | Array

the new data that's to be stored for the said Package.

Returns:
  • returns an object with info about the update operation.
Type
Object