{"id":37016337,"url":"https://github.com/tiste/angular-query-builder","last_synced_at":"2026-01-14T01:50:33.009Z","repository":{"id":37492895,"uuid":"63426428","full_name":"tiste/angular-query-builder","owner":"tiste","description":"Query builder as JSON from angular directive","archived":false,"fork":false,"pushed_at":"2024-08-27T19:57:04.000Z","size":47,"stargazers_count":12,"open_issues_count":5,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-12-16T15:28:28.955Z","etag":null,"topics":["angular","gh-pages","package"],"latest_commit_sha":null,"homepage":"https://tiste.github.io/angular-query-builder","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tiste.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-15T14:06:37.000Z","updated_at":"2023-12-06T15:55:10.000Z","dependencies_parsed_at":"2022-09-10T20:00:14.117Z","dependency_job_id":null,"html_url":"https://github.com/tiste/angular-query-builder","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/tiste/angular-query-builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiste%2Fangular-query-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiste%2Fangular-query-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiste%2Fangular-query-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiste%2Fangular-query-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiste","download_url":"https://codeload.github.com/tiste/angular-query-builder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiste%2Fangular-query-builder/sbom","scorecard":{"id":887761,"data":{"date":"2025-08-11","repo":{"name":"github.com/tiste/angular-query-builder","commit":"773b7e951aa147224b9496ffeb0017b6d3089f3c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/18 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENCE:0","Info: FSF or OSI recognized license: MIT License: LICENCE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-24T10:38:37.338Z","repository_id":37492895,"created_at":"2025-08-24T10:38:37.338Z","updated_at":"2025-08-24T10:38:37.338Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","gh-pages","package"],"created_at":"2026-01-14T01:50:32.332Z","updated_at":"2026-01-14T01:50:33.003Z","avatar_url":"https://github.com/tiste.png","language":"HTML","readme":"# angular-query-builder\n\nQuery builder as JSON from angular directive\n\n## Install\n\n`$ npm install -SE angular-query-builder`\n\nAdd it as an angular dependency:\n\n```js\nangular.module('app', [\n    'ngQueryBuilder',\n]);\n```\n\n## Usage\n\nSimply define an options object:\n\n```js\n$scope.options = {\n    fields: [\n        { name: 'Firstname', value: 'firstname' },\n        { name: 'Birthdate', value: 'birthdate', attrs: { type: 'date' } },\n        { name: 'City', value: 'city', attrs: { type: 'text', 'required': true } },\n        { name: 'Country', value: 'country' },\n    ],\n\n    // optional operators\n    operators: [\n        { name: 'AND', value: '$and' },\n        { name: 'OR', value: '$or' },\n    ],\n\n    // ... and conditions\n    conditions: [\n        { name: 'equal', value: '$eq' },\n        { name: 'is not equal', value: '$neq' },\n        { name: 'less than', value: '$lt' },\n        { name: 'less than or equal', value: '$lte' },\n        { name: 'greater than', value: '$gt' },\n        { name: 'greater than or equal', value: '$gte' },\n    ],\n};\n```\n\nThen add the directive to your view:\n\n```html\n\u003cdiv query-builder=\"options\"\u003e\u003c/div\u003e\n```\n\nYou can now get the result as `{{options.query}}`\n\n### Templating\n\nYou can use your own template by setting a `templateUrl` in the directive:\n\n```html\n\u003cdiv query-builder=\"options\" template-url=\"templateUrl\"\u003e\u003c/div\u003e\n```\n\nor\n\n```js\n$scope.options = {\n    templateUrl: '/src/query-builder-group-directive.html',\n};\n```\n\n\u003e The template needs to be recursive. You can have a look [at the project one](https://github.com/tiste/angular-query-builder/blob/master/src/query-builder-group-directive.html).\n\n## Build\n\nJust run `npm run dev` to start webserver, and build everything with `npm run build`\n\n## Want to help?\n\n1. [Fork it](https://github.com/tiste/angular-query-builder/fork)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes using [commitizen](https://github.com/commitizen/cz-cli) (`git commit -am 'feat: add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## License\n\n[MIT](https://github.com/tiste/angular-query-builder/blob/master/LICENCE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiste%2Fangular-query-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiste%2Fangular-query-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiste%2Fangular-query-builder/lists"}