fabcontains
fabcontains is a JavaScript library designed to simplify the process of checking if a given string contains a specific substring. It aims to provide a more readable and potentially more performant alternative to native JavaScript methods like `String.prototype.includes()` or `String.prototype.indexOf()`. The library focuses on a single primary function that takes two arguments: the string to search within and the substring to find. It returns a boolean value, true if the substring is found, and false otherwise.
One of the key features of fabcontains is its emphasis on a clear and concise API. This