{"id":13755225,"url":"https://github.com/onebeyond/systemic-knex","last_synced_at":"2025-07-02T04:36:48.647Z","repository":{"id":65513641,"uuid":"339061938","full_name":"onebeyond/systemic-knex","owner":"onebeyond","description":"A systemic Knex component","archived":false,"fork":false,"pushed_at":"2024-07-12T03:50:04.000Z","size":682,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-06-29T12:16:54.973Z","etag":null,"topics":["knex","systemic"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@onebeyond/systemic-knex","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/onebeyond.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":"2021-02-15T11:53:37.000Z","updated_at":"2023-02-02T12:53:38.000Z","dependencies_parsed_at":"2024-08-03T10:02:12.052Z","dependency_job_id":null,"html_url":"https://github.com/onebeyond/systemic-knex","commit_stats":{"total_commits":86,"total_committers":2,"mean_commits":43.0,"dds":"0.12790697674418605","last_synced_commit":"c0e887eb2d27b8bf3f7bca604e8097a5319178d8"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/onebeyond/systemic-knex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebeyond%2Fsystemic-knex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebeyond%2Fsystemic-knex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebeyond%2Fsystemic-knex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebeyond%2Fsystemic-knex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onebeyond","download_url":"https://codeload.github.com/onebeyond/systemic-knex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebeyond%2Fsystemic-knex/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263076897,"owners_count":23410157,"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":["knex","systemic"],"created_at":"2024-08-03T10:00:49.198Z","updated_at":"2025-07-02T04:36:48.624Z","avatar_url":"https://github.com/onebeyond.png","language":"JavaScript","funding_links":[],"categories":["Modules"],"sub_categories":[],"readme":"\u003ca href=\"https://codeclimate.com/github/onebeyond/systemic-knex/maintainability\"\u003e\u003cimg src=\"https://api.codeclimate.com/v1/badges/4b69d0b8a26990aae802/maintainability\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://codeclimate.com/github/onebeyond/systemic-knex/test_coverage\"\u003e\u003cimg src=\"https://api.codeclimate.com/v1/badges/4b69d0b8a26990aae802/test_coverage\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://bestpractices.coreinfrastructure.org/projects/7143\"\u003e\u003cimg \nsrc=\"https://bestpractices.coreinfrastructure.org/projects/7143/badge\"\u003e\u003c/a\u003e\n\u003ca href=\"https://deps.dev/npm/%40onebeyond%2Fsystemic-knex\"\u003e\u003cimg \nsrc=\"https://api.securityscorecards.dev/projects/github.com/guidesmiths/systemic-knex/badge\"\u003e\u003c/a\u003e\n\n\n\u003cp align=\"center\"\u003e\u003ch1 align=\"center\"\u003e\n  systemic-knex\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  A systemic Knex component\n\u003c/p\u003e\n\n\n## ☕️ Usage\n```js\nconst System = require('systemic')\nconst knex = require('@onebeyond/systemic-knex')\n\nnew System()\n    .configure({\n        knex: {\n            // @SEE: http://knexjs.org/#Installation-client\n            client: 'mysql',\n            connection: {\n                host: 'localhost',\n                user: 'root',\n                password: 'password',\n                database: 'database_name'\n            },\n            // Optional Config (pool, migrations, seeds...):\n            pool: {},\n            migrations: {\n                tableName: 'knex_migrations',\n                directory: join(__dirname, '..', '/db/migrations')\n            },\n            seeds: {\n                directory: join(__dirname, '..', '/db/seeds')\n            }\n        }\n    })\n    .add('logger', console)\n    .add('knex', knex()).dependsOn('config')\n    .start((err, components) =\u003e {\n        // Do stuff with components.knex\n    })\n```\n\n### 🚩 Compatibility versions\n\n| Version   |      Node.js      |  Knex |\n|----------|:-------------:|------:|\n| knex-systemic@1.0.0 | 10.x-14.x | 0.21.17 |\n| knex-systemic@2.0.0 | 14.x-19.x | 0.21.17 |\n| @onebeyond/knex-systemic@1.0.0 | 14.x-19.x | 0.21.17 |\n| @onebeyond/knex-systemic@1.0.1 | 14.x-19.x | 0.21.17 |\n| @onebeyond/knex-systemic@1.0.2 | 14.x-19.x | 0.21.18 |\n| @onebeyond/knex-systemic@1.0.3 | 14.x-19.x | 0.21.19 |\n| @onebeyond/knex-systemic@1.0.4 | 14.x-19.x | 0.21.21 |\n| @onebeyond/knex-systemic@1.1.0 | 14.x-19.x | 0.95.10 |\n| @onebeyond/knex-systemic@1.1.1 | 14.x-19.x | 0.95.11 |\n| @onebeyond/knex-systemic@1.1.2 | 14.x-19.x | 0.95.12 |\n| @onebeyond/knex-systemic@1.1.3 | 14.x-19.x | 0.95.13 |\n| @onebeyond/knex-systemic@1.1.4 | 14.x-19.x | 0.95.14 |\n| @onebeyond/knex-systemic@1.1.5 | 14.x-19.x | 0.95.15 |\n| @onebeyond/knex-systemic@2.0.0 | 14.x-19.x | 1.0.0 |\n| @onebeyond/knex-systemic@2.0.1 | 14.x-19.x | 1.0.1 |\n| @onebeyond/knex-systemic@2.0.2 | 14.x-19.x | 1.0.2 |\n| @onebeyond/knex-systemic@2.0.3 | 14.x-19.x | 1.0.3 |\n| @onebeyond/knex-systemic@2.0.4 | 14.x-19.x | 1.0.4 |\n| @onebeyond/knex-systemic@2.0.5 | 14.x-19.x | 1.0.5 |\n| @onebeyond/knex-systemic@2.0.6 | 14.x-19.x | 1.0.6 |\n| @onebeyond/knex-systemic@2.0.7 | 14.x-19.x | 1.0.7 |\n| @onebeyond/knex-systemic@3.0.0 | 14.x-19.x | 2.0.0 |\n| @onebeyond/knex-systemic@3.1.0 | 14.x-19.x | 2.1.0 |\n| @onebeyond/knex-systemic@3.2.0 | 14.x-19.x | 2.2.0 |\n| @onebeyond/knex-systemic@3.3.0 | 14.x-19.x | 2.3.0 |\n| @onebeyond/knex-systemic@3.4.0 | 14.x-19.x | 2.4.0 |\n| @onebeyond/knex-systemic@3.4.1 | 14.x-19.x | 2.4.1 |\n| @onebeyond/knex-systemic@3.4.2 | 14.x-19.x | 2.4.2 |\n| @onebeyond/knex-systemic@4.0.0 | 16.x-20.x | 2.4.2 |\n| @onebeyond/knex-systemic@4.0.1 | 16.x-20.x | 2.5.0 |\n| @onebeyond/knex-systemic@4.0.2 | 16.x-20.x | 2.5.1 |\n| @onebeyond/knex-systemic@5.0.0 | 18.x-21.x | 3.0.0 |\n\n### 📚 Parameters\nCheck out [the official documentation](http://knexjs.org/#Installation-client)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonebeyond%2Fsystemic-knex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonebeyond%2Fsystemic-knex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonebeyond%2Fsystemic-knex/lists"}