Stream API - Multi criterias Query Example

Hi all,
Can anyone here share with me an example of query to Stream API using a combination of several criterias ? Example : company_name and Locality, Locality and first letters of company name, etc ?

If possible in Javascript. Thanks

You do not query the API stream, you consume it all and use the components you require.