Miss any of our Open RFC calls?Watch the recordings here! »

inso

1.0.2 • Public • Published

inso

🔎 Case-insensitive object search

Install

npm install inso

Usage

const inso = require("inso");
 
const obj = {
  foo: 1,
  BAR: 2,
  bAz: 3
};
 
inso(); // undefined
inso(obj); // undefined
inso(obj, "foo"); // 1
inso(obj, "FOO"); // 1
inso(obj, "Foo"); // 1
inso(obj, "a", "b", "c", "Bar"); // 2

Install

npm i inso

DownloadsWeekly Downloads

44

Version

1.0.2

License

MIT

Unpacked Size

9.04 kB

Total Files

11

Last publish

Collaborators

  • avatar