{"id":31936451,"url":"https://github.com/stitchng/adonis-kwikng","last_synced_at":"2025-10-14T07:42:52.777Z","repository":{"id":42659701,"uuid":"173734589","full_name":"stitchng/adonis-kwikng","owner":"stitchng","description":"An addon/plugin package to provide KwikNG automated last-mile delivery services in AdonisJS 4.0+","archived":false,"fork":false,"pushed_at":"2022-12-11T06:11:20.000Z","size":387,"stargazers_count":1,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-11T16:00:53.107Z","etag":null,"topics":["adonis-framework","adonisjs-addon","automation","kwikng","last-mile-deliveries","logistics","transport"],"latest_commit_sha":null,"homepage":"https://app.kwik.delivery","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/stitchng.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":"coolcodes","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-03-04T11:45:33.000Z","updated_at":"2022-03-29T14:10:23.000Z","dependencies_parsed_at":"2023-01-26T16:50:11.069Z","dependency_job_id":null,"html_url":"https://github.com/stitchng/adonis-kwikng","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/stitchng/adonis-kwikng","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stitchng%2Fadonis-kwikng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stitchng%2Fadonis-kwikng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stitchng%2Fadonis-kwikng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stitchng%2Fadonis-kwikng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stitchng","download_url":"https://codeload.github.com/stitchng/adonis-kwikng/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stitchng%2Fadonis-kwikng/sbom","scorecard":{"id":853479,"data":{"date":"2025-08-11","repo":{"name":"github.com/stitchng/adonis-kwikng","commit":"2a95f47fd69ad432184a78ebfa85b930247beabe"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"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":"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":"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":"Code-Review","score":0,"reason":"Found 1/27 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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE: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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"41 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-q42p-pg8m-cqh6","Warn: Project is vulnerable to: GHSA-w457-6q6x-cgp9","Warn: Project is vulnerable to: GHSA-62gr-4qp9-h98f","Warn: Project is vulnerable to: GHSA-f52g-6jhx-586p","Warn: Project is vulnerable to: GHSA-2cf5-4w76-r9qv","Warn: Project is vulnerable to: GHSA-3cqr-58rm-57f8","Warn: Project is vulnerable to: GHSA-g9r4-xpmj-mj65","Warn: Project is vulnerable to: GHSA-q2c6-c6pm-g3gh","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-g6ww-v8xp-vmwg","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T23:10:39.177Z","repository_id":42659701,"created_at":"2025-08-23T23:10:39.177Z","updated_at":"2025-08-23T23:10:39.177Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007470,"owners_count":26084313,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["adonis-framework","adonisjs-addon","automation","kwikng","last-mile-deliveries","logistics","transport"],"created_at":"2025-10-14T07:42:47.221Z","updated_at":"2025-10-14T07:42:52.771Z","avatar_url":"https://github.com/stitchng.png","language":"JavaScript","funding_links":["https://patreon.com/coolcodes"],"categories":[],"sub_categories":[],"readme":"# adonis-kwikng\n\nAn addon/plugin package to provide KwikNG automated last-mile delivery services in AdonisJS 4.0+\n\n[![NPM Version][npm-image]][npm-url]\n[![Build Status][travis-image]][travis-url]\n[![Coveralls][coveralls-image]][coveralls-url]\n\n\u003cimg src=\"http://res.cloudinary.com/adonisjs/image/upload/q_100/v1497112678/adonis-purple_pzkmzt.svg\" width=\"200px\" align=\"right\" hspace=\"30px\" vspace=\"140px\"\u003e\n\n## Getting Started\n\n\u003eInstall from the NPM Registry\n\n```bash\n\n   $ adonis install adonisjs-kwikng\n\n```\n\n## Usage\n\n\u003eImport and use \n\n```js\n\n  'use strict'\n  \n  const Kwik = use('Kwik')\n  const User = use('App/Models/User')\n  \n  class LogisticsController {\n  \n      constructor(Event){\n          this.event = Event\n      }\n      \n      static get inject(){\n          return [\n              'Event'\n          ]\n      }\n      \n      async requestDelivery({ request, params, response }){\n      \n          let user = await User.find(params.user_id) // get user from database\n\n          let response = await Kwik.API.scheduleDeliveryTask({\n                  pickup_delivery_relationship: 0,\n                  payment_method: 131072 /* PAGA wallet payment */, \n                  is_multiple_tasks: 1, \n                  has_pickup: 1, \n                  has_delivery: 1, \n                  timezone: '+60' /* West African Time: +1:00hr from UTC */, \n                  auto_assignment: 0, \n                  layout_type: 0, \n                  team_id: 1 /* get your 'team_id' from your admin dashboard */,\n                  amount: \"1240.45\", // Naira\n                  total_no_of_tasks: 1 /* get this value from Kwik.API.getExactPricingForDeliveryTask() */,\n                  total_service_charge: 0 /* get this value from Kwik.API.getExactPricingForDeliveryTask() */,\n                  deliveries: [\n                    {\n                      \"address\": \"No 4 Awgu Close, Garki, Area 3, Abuja\",\n                      \"name\": user.business_name,\n                      \"latitude\": 9.0541091,\n                      \"longitude\": 7.4349443,\n                      \"time\": \"2020-12-20 12:48:24\",\n                      \"phone\": user.phone, // user phone number\n                      \"email\": user.email, // user email\n                      \"has_return_task\": false,\n                      \"is_package_insured\": 0,\n                      \"template_data\": [ ]\n                    }\n                  ],\n                  pickups: [\n                    {\n                      \"address\": \"Dyzn Clothing LLC\",\n                      \"name\": \"Dzyn Babe\",\n                      \"latitude\": 9.0392449,\n                      \"longitude\": 7.4220623,\n                      \"time\": \"2020-12-20 11:27:11\",\n                      \"phone\": \"+2349045739731\",\n                      \"email\": \"dzyn.fash.ng@gmail.com\"\n                    }\n                  ]\n          \n          });\n          \n          this.event.fire('mixpanel::event', { key: 'delivery_dispatched' });\n          \n          return response.status(201).json({\n             data:response.body.data\n          })\n      }\n  }\n  \n  module.exports = LogisticsController\n\n```\n\n## License\n\nMIT\n\n## Running Tests\n```bash\n\n    npm i\n\n```\n\n```bash\n\n    npm run lint\n\n    npm run test\n\n```\n\n## Credits\n\n- [Ifeora Okechukwu](https://twitter.com/isocroft)\n    \n## Contributing\n\nSee the [CONTRIBUTING.md](https://github.com/stitchng/adonis-kwikng/blob/master/CONTRIBUTING.md) file for info\n\n[npm-image]: https://img.shields.io/npm/v/adonisjs-kwikng.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/adonisjs-kwikng\n\n[travis-image]: https://img.shields.io/travis/stitchng/adonis-kwikng/master.svg?style=flat-square\n[travis-url]: https://travis-ci.org/stitchng/adonis-kwikng\n\n[coveralls-image]: https://img.shields.io/coveralls/stitchng/adonis-kwikng/master.svg?style=flat-square\n\n[coveralls-url]: https://coveralls.io/github/stitchng/adonis-kwikng\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstitchng%2Fadonis-kwikng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstitchng%2Fadonis-kwikng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstitchng%2Fadonis-kwikng/lists"}