@shanzhai/unkeyed-store-get-input

A Shanzhai input which reads the value of an unkeyed store.

Usage no npm install needed!

<script type="module">
  import shanzhaiUnkeyedStoreGetInput from 'https://cdn.skypack.dev/@shanzhai/unkeyed-store-get-input';
</script>

README

@shanzhai/unkeyed-store-get-input Continuous Integration License FOSSA Status Renovate enabled npm npm type definitions

A Shanzhai input which reads the value of an unkeyed store.

Usage

Provide an instance of UnkeyedStoreGetInput as an input to a Step and when that Step requests a value, it will retrieve the current value of its given UnkeyedStore.

For example:

new ExampleStep(
  new UnkeyedStoreGetInput(anExampleUnkeyedStore)
);

As this calls UnkeyedStore.get under the hood, behavior is similarly undefined should the store not have a value at the time.

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