{"id":17316655,"url":"https://github.com/liffiton/jsminisolvers","last_synced_at":"2025-03-27T02:17:12.305Z","repository":{"id":32677024,"uuid":"92753258","full_name":"liffiton/JSMiniSolvers","owner":"liffiton","description":"A Javascript API for the MiniSat and MiniCard constraint solvers.","archived":false,"fork":false,"pushed_at":"2024-09-24T03:44:53.000Z","size":3494,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T07:41:12.281Z","etag":null,"topics":["constraints","javascript-api","minisat","solver"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liffiton.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-05-29T15:41:28.000Z","updated_at":"2024-09-24T03:41:07.000Z","dependencies_parsed_at":"2024-06-21T21:05:18.644Z","dependency_job_id":"2b18ff4c-f77f-4543-9da8-689ac9eacc78","html_url":"https://github.com/liffiton/JSMiniSolvers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liffiton%2FJSMiniSolvers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liffiton%2FJSMiniSolvers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liffiton%2FJSMiniSolvers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liffiton%2FJSMiniSolvers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liffiton","download_url":"https://codeload.github.com/liffiton/JSMiniSolvers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245767361,"owners_count":20668827,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["constraints","javascript-api","minisat","solver"],"created_at":"2024-10-15T13:13:41.095Z","updated_at":"2025-03-27T02:17:12.287Z","avatar_url":"https://github.com/liffiton.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"JSMiniSolvers\n=============\n\nJSMiniSolvers is a Javascript API and implementation of the\n[MiniSat](http://minisat.se/) and [MiniCard](http://git.io/minicard) constraint\nsolvers.  The solvers have been compiled into Javascript with\n[Emscripten](http://emscripten.org/), meaning they can run directly in a web\nbrowser.\n\n_[You can also use this library in standalone Javscript engine like\n[Node.js](https://nodejs.org/), but in that case you are better off running\nnatively-compiled code by using a binary or an API that accesses native shared\nlibraries instead.]_\n\n### Alternatives\n\n * [Logic-Solver](https://www.npmjs.com/package/logic-solver) - A higher-level\n   API for creating \u0026 solving logical constraints.\n * [Research.js](https://github.com/jgalenson/research.js) - Information and\n   scripts to help compile MiniSat and other solvers into Javascript.\n\n\nUsage\n-----\n\nGrab the pre-compiled script and optional sourcemap from ``dist/``.  See\n``example.html`` for a simple usage example.\n\n[Try it online!](https://liffiton.github.io/JSMiniSolvers/example.html)\n\n \nDevelopment\n-----------\n\n### Building ``minisolvers.js``\n\nInstall dev-dependencies:\n\n    npm install\n\nBuild:\n\n    npm run build\n\nTest:\n\n    npm test\n\n### Re-building ``src/cpp/libmini*.js``\n\nThe repository contains pre-compiled javascript versions of MiniSat and\nMiniCard, so you can build the ``minisolvers.js`` library without needing to\ninstall or use Emscripten.  If you would like to modify the C++ source of\neither solver and recompile it, however, you will need to [install\nEmscripten](https://emscripten.org/docs/getting_started/downloads.html).\n\nThen, in the ``src/cpp`` directory:\n\n    make\n\nOr to build a debug version (unoptimizied, unminified):\n\n    make d\n\n\nLicense\n-------\n\nThis code is licensed under the MIT license.  See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliffiton%2Fjsminisolvers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliffiton%2Fjsminisolvers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliffiton%2Fjsminisolvers/lists"}