{"id":28222795,"url":"https://github.com/warlock/boolean-search","last_synced_at":"2026-04-29T22:33:28.821Z","repository":{"id":143863758,"uuid":"108774157","full_name":"warlock/boolean-search","owner":"warlock","description":"Boolean Query Search","archived":false,"fork":false,"pushed_at":"2017-12-12T13:52:48.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-25T04:22:35.633Z","etag":null,"topics":["boolean","elasticsearch","engine","keywords","lucene","parser","query","search","search-engine","semantic","solr"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/warlock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-29T21:46:15.000Z","updated_at":"2017-10-31T09:11:33.000Z","dependencies_parsed_at":"2023-07-16T05:16:21.529Z","dependency_job_id":null,"html_url":"https://github.com/warlock/boolean-search","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/warlock/boolean-search","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warlock%2Fboolean-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warlock%2Fboolean-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warlock%2Fboolean-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warlock%2Fboolean-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/warlock","download_url":"https://codeload.github.com/warlock/boolean-search/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warlock%2Fboolean-search/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32446664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"last_error":"SSL_read: 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":["boolean","elasticsearch","engine","keywords","lucene","parser","query","search","search-engine","semantic","solr"],"created_at":"2025-05-18T07:14:01.144Z","updated_at":"2026-04-29T22:33:28.816Z","avatar_url":"https://github.com/warlock.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# boolean-search\nBoolean Query Search\n\n[![npm version](https://badge.fury.io/js/boolean-search.svg)](https://badge.fury.io/js/boolean-search)\n[![GitHub version](https://badge.fury.io/gh/warlock%2Fboolean-search.svg)](https://badge.fury.io/gh/warlock%2Fboolean-search)\n[![Build Status](https://travis-ci.org/warlock/boolean-search.svg?branch=master)](https://travis-ci.org/warlock/boolean-search)\n\n### Repository\n\n[NPM](https://www.npmjs.com/package/boolean-search)\n\n[Github](https://github.com/warlock/boolean-search)\n\n\n### NPM Install\n```sh\nnpm i boolean-search -S\n```\n\n### Yarn Install\n```sh\nyarn add boolean-search\n```\n\n#### bSearch(text, query, options)\nEnable \"[cleanchar](https://www.npmjs.com/package/cleanchar)\" options for clean query and text special characters.\n* social\n* spanish\n\n#### Demo:\n```js\nconst bSearch = require(\"boolean-search\")\nconst text = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam varius porttitor est a ornare. Quisque pulvinar nec libero ut posuere. Praesent lobortis eleifend magna, eu egestas lorem. Proin vitae diam leo. Nunc placerat nibh a tellus volutpat molestie.\n¡¡¡Texto Español. Troç de text en català. Play with #hashtags and @social!!!\nNullam sodales, diam sit amet volutpat feugiat, lectus neque lacinia mauris, scelerisque vulputate diam nunc at mi. Vestibulum semper quam faucibus dolor fermentum suscipit.`\nconst searchres = bSearch(text, \"ipsum AND @social\", { social: true })\nconsole.log(JSON.stringify(searchres))\n```\n\n#### Return:\n```\n{\"res\":true,\"desc\":[\"ipsum\",\"@social\"]}\n```\n\n## License\nThe MIT License (MIT)\nCopyright (c) 2017 Josep Subils (js@js.gl)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarlock%2Fboolean-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarlock%2Fboolean-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarlock%2Fboolean-search/lists"}