Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@bikossor/in-object

1.0.2 • Public • Published

in-object

The fastest way to check wether an JavaScript object has a certain property or not.

Codacy Badge Build Status codecov npm bundle size (minified + gzip) npm GitHub issues GitHub closed issues GitHub

Installing

Node.js environment

npm i @bikossor/in-object --save

Browser environment

Download the latest version of in-object here.

Usage

Node.js environment

const inObject = require("@bikossor/in-object");
 
// First letter uppercase:
inObject('Foo', {
    Foo: 'bar'
});
// => true
 
// Completely lowercase:
inObject('foo', {
    Foo: 'bar'
});
// => false

Benchmark

Coming soon!

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the GPL-3.0 License - see here for more details.

Install

npm i @bikossor/in-object

DownloadsWeekly Downloads

3

Version

1.0.2

License

GPL-3.0

Unpacked Size

40.5 kB

Total Files

9

Last publish

Collaborators

  • avatar