💡 Introduction
Why you should use and support the package:
- ✅ Typification.
- ✅ Reducing the code in the project.
- ✅ Easier to read and understand the code.
- ✅ CDN support.
- ✅ Compatible with ECMAScript 2015.
- ✅ Compatible with the oldest version of TypeScript (0.8.0).
- ✅ Maintenance of global contexts: globalThis, window, self, global.
- ✅ No dependencies
- ✅ AMD, Node & browser ready
- ✅ Small size: ~8KB.
Idea
this package was created in order to simplify writing in typescript / javascript, it often happens that you need to have checks for different types of data, these checks can be "huge", but if you could simply describe in words what we want to check?
For example, why write:
if (typeof variable === 'object' && variable !== null && !Array.isArray(variable) && Object.keys(variable)?.length) {
}
if you can write something like:
if (is.object.not.empty(variable)) {
}
👤 Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Add your changes:
git add .
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request 😎
✍️ Authors
- Ivan Karbashevskyi - Initial work - Karbashevskyi
See also the list of contributors who participated in this project.
📜 License
MIT License © Karbashevskyi