
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Syntax is based of SailsJS Waterline Query Language.
Run Querent.query(collection, filters)
where collection
is an array of objects and filters
is an object like { surname: 'Simpson' }
.
The property's key is the attribute that will be looked for in the object, and the value is the filter for the object to be returned.
You can add multiple attributes to narrow down your selection. { surname: 'Simpson', age: 10 }
will return the elements that match both conditions.
Or you can widen it by allowing for multiple values. { surname: ['Simpson', 'Van Houten'] }
will return the elements that match either value.
Another available structure is to negate the predicate by writing. { surname: { '!': 'Wiggum' } }
will return the elements whose name is not Wiggum.
You can also filter using nested properties. { grades: { math: { '!': ['A', 'B'] } } }
will return the elements whose grade on math not A or B.
The following modifiers are available to use when querying:
<
(less than)<=
(less than or equal)>
(greater than)>=
(greater than or equal)!
(not)You can build from source by running npm run build
.
You can run the test suite by running npm run test
.
FAQs
Easily query your js collections.
The npm package querent receives a total of 0 weekly downloads. As such, querent popularity was classified as not popular.
We found that querent demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.