0.1.3 • Published 6 years ago

object-indexof v0.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

object-indexof

NPM

Get first index of value in object, like Array.indexOf().

const indexOf = require('object-indexof');
// indexOf(<object>, <search value>)

indexOf({run: 'ran', jog: 'jogged'}, 'jogged');
// 'jog'
indexOf({r: 18, u: 21, n: 14}, 18);
// 'r'
indexOf({j: 10, o: 15, g: 7}, 5);
// undefined
0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago