x-by-y

Find X by its unique property Y

Usage no npm install needed!

<script type="module">
  import xByY from 'https://cdn.skypack.dev/x-by-y';
</script>

README

x-by-y

npm version

Where x is a JavaScript Object and y is a member of x

Installation

Using npm:

npm install --save x-by-y

Using yarn:

yarn add x-by-y

This library uses ES6 Maps; if you wish to support environments that do not natively support them, you will need to include a polyfill (for example, core-js).

Motivation

TODO

License

MIT