@shanzhai/delete-from-keyed-store-step

A Shanzhai step which deletes a key/value from a keyed store.

Usage no npm install needed!

<script type="module">
  import shanzhaiDeleteFromKeyedStoreStep from 'https://cdn.skypack.dev/@shanzhai/delete-from-keyed-store-step';
</script>

README

@shanzhai/delete-from-keyed-store-step Continuous Integration License FOSSA Status Renovate enabled npm npm type definitions

A Shanzhai step which deletes a key/value from a keyed store.

Usage

Within a trigger's event handler, return an instance of DeleteFromKeyedStoreStep similar to the following:

new DeleteFromKeyedStoreStep(
  aKeyedStore,
  `A Key Within That Store`
)

The key/value specified will be deleted from the store.

If it does not exist in the store, nothing happens.

Dependencies

This package has no runtime dependencies.

Peer Dependencies

This package has no runtime peer dependencies (it does not expect any other packages to be installed alongside itself).

License

FOSSA Status