@shanzhai/build-object-input

A Shanzhai input which builds an object from a number of other inputs.

Usage no npm install needed!

<script type="module">
  import shanzhaiBuildObjectInput from 'https://cdn.skypack.dev/@shanzhai/build-object-input';
</script>

README

@shanzhai/build-object-input Continuous Integration License FOSSA Status Renovate enabled npm npm type definitions

A Shanzhai input which builds an object from a number of other inputs.

Usage

The following two examples are equivalent:

new BuildObjectInput({
  a: new ConstantInput(3),
  b: new ConstantInput(10),
  c: new ConstantInput(7),
});

new ConstantInput({
  a: 3,
  b: 10,
  c: 7,
});

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