{"id":18352333,"url":"https://github.com/plughacker/malga-node","last_synced_at":"2025-10-10T16:42:36.909Z","repository":{"id":218538174,"uuid":"693149651","full_name":"plughacker/malga-node","owner":"plughacker","description":"Malga Node.js SDK","archived":false,"fork":false,"pushed_at":"2025-06-12T03:40:35.000Z","size":207,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-25T13:58:20.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/plughacker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS"}},"created_at":"2023-09-18T12:58:16.000Z","updated_at":"2025-06-12T03:38:29.000Z","dependencies_parsed_at":"2024-01-22T17:16:02.069Z","dependency_job_id":"8af8db4e-3c32-47b0-b098-90f16f48325c","html_url":"https://github.com/plughacker/malga-node","commit_stats":null,"previous_names":["plughacker/malga-node"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/plughacker/malga-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plughacker%2Fmalga-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plughacker%2Fmalga-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plughacker%2Fmalga-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plughacker%2Fmalga-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plughacker","download_url":"https://codeload.github.com/plughacker/malga-node/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plughacker%2Fmalga-node/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004702,"owners_count":26083751,"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-10T02:00:06.843Z","response_time":62,"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":[],"created_at":"2024-11-05T21:35:40.319Z","updated_at":"2025-10-10T16:42:36.893Z","avatar_url":"https://github.com/plughacker.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003cimg alt=\"Malga\" src=\"docs/assets/malga.png\" width=\"85\"\u003e\n  \u003c/picture\u003e\n  \u003ch1\u003eMalga Node.js SDK\u003c/h1\u003e\n\u003c/div\u003e\n\n![Tests](https://github.com/plughacker/malga-node/actions/workflows/tests.yml/badge.svg)\n\nSimple way to integrate with Malga\n\n## Getting Started\n\nLearn how to quickly integrate Malga into your project. For more details on integration, simply [click here](https://docs.malga.io/docs/api-sdks/intro).\n\n1. First of all, you'll need to install our SDK into your project:\n\n```bash\nyarn add malga\n# or\nnpm install malga\n# or\npnpm add malga\n```\n\n2. Make your first charge in a simplified way\n\n```ts\nimport { Malga } from 'malga'\n\nconst malga = new Malga({\n  apiKey: 'YOUR_API_KEY',\n  clientId: 'YOUR_CLIENT_ID',\n  options: { sandbox: true },\n})\n\n(async function () {\n  try {\n    const data = await malga.charges.create({\n      merchantId: 'YOUR_MERCHANT_ID',\n      amount: 100,\n      paymentMethod: {\n        type: 'credit',\n        installments: 1,\n        card: {\n          holderName: 'João da Silva',\n          number: '5453881028277600',\n          cvv: '170',\n          expirationDate: '10/2030',\n        },\n      },\n    })\n\n    console.log(data)\n  } catch (error) {\n    console.error(error)\n  }\n})()\n```\n\n## Examples\n\nIf you have any doubts about the integration, you can [click here](https://github.com/plughacker/malga-node/tree/main/examples) to see some examples\n\n## Contributing\n\nFeel free to contribute to this project by submitting pull requests, creating documentation, or bringing ideas to make the project even better!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplughacker%2Fmalga-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplughacker%2Fmalga-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplughacker%2Fmalga-node/lists"}