Skip to main content
Version: 1.0.0

💡 Introduction

NPM Latest Version

Why you should use and support the package:

  1. ✅ Typification.
  2. ✅ Reducing the code in the project.
  3. ✅ Easier to read and understand the code.
  4. ✅ CDN support.
  5. ✅ Compatible with ECMAScript 2015.
  6. ✅ Compatible with the oldest version of TypeScript (0.8.0).
  7. ✅ Maintenance of global contexts: globalThis, window, self, global.
  8. ✅ No dependencies
  9. ✅ AMD, Node & browser ready
  10. ✅ 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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Add your changes: git add .
  4. Commit your changes: git commit -am 'Add some feature'
  5. Push to the branch: git push origin my-new-feature
  6. Submit a pull request 😎

✍️ Authors

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

📜 License

MIT License © Karbashevskyi