1.0.2 • Published 6 years ago

@bikossor/in-object v1.0.2

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
6 years ago

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.

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago