{"id":40547505,"url":"https://github.com/murilosandiego/node-sicredi","last_synced_at":"2026-01-20T23:40:28.876Z","repository":{"id":34642877,"uuid":"181594452","full_name":"murilosandiego/node-sicredi","owner":"murilosandiego","description":"Uma biblioteca em Node.js para interagir com o WebService, EcommResource, do Banco Sicredi, para gerenciamento de boletos","archived":false,"fork":false,"pushed_at":"2023-01-06T01:48:04.000Z","size":3639,"stargazers_count":28,"open_issues_count":9,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-01T02:48:44.421Z","etag":null,"topics":["api","boleto","ecommresource","gerar-boleto","javascript","lib","library","nodejs","promise","sdk","sicredi","webservice","wrapper"],"latest_commit_sha":null,"homepage":"","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/murilosandiego.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-16T01:51:01.000Z","updated_at":"2025-08-27T12:19:53.000Z","dependencies_parsed_at":"2023-01-15T08:16:36.979Z","dependency_job_id":null,"html_url":"https://github.com/murilosandiego/node-sicredi","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/murilosandiego/node-sicredi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilosandiego%2Fnode-sicredi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilosandiego%2Fnode-sicredi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilosandiego%2Fnode-sicredi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilosandiego%2Fnode-sicredi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/murilosandiego","download_url":"https://codeload.github.com/murilosandiego/node-sicredi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilosandiego%2Fnode-sicredi/sbom","scorecard":{"id":668381,"data":{"date":"2025-08-11","repo":{"name":"github.com/murilosandiego/node-sicredi","commit":"d5e5dddf9b6f8264b66b3641a3d0235566b5262a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/18 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":"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":"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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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 12 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":"34 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","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-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-2j2x-2gpw-g8fm","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","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-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","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-21T19:00:18.921Z","repository_id":34642877,"created_at":"2025-08-21T19:00:18.921Z","updated_at":"2025-08-21T19:00:18.921Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28618803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T22:24:05.405Z","status":"ssl_error","status_checked_at":"2026-01-20T22:20:31.342Z","response_time":117,"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":["api","boleto","ecommresource","gerar-boleto","javascript","lib","library","nodejs","promise","sdk","sicredi","webservice","wrapper"],"created_at":"2026-01-20T23:40:28.152Z","updated_at":"2026-01-20T23:40:28.871Z","avatar_url":"https://github.com/murilosandiego.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node Sicredi\n\n[![Build Status](https://travis-ci.org/murilosandiego/node-sicredi.svg?branch=master)](https://travis-ci.org/murilosandiego/node-sicredi)\n[![Coverage Status](https://coveralls.io/repos/github/murilosandiego/node-sicredi/badge.svg?branch=master)](https://coveralls.io/github/murilosandiego/node-sicredi?branch=master)\n[![npm version](https://badge.fury.io/js/node-sicredi.svg)](https://badge.fury.io/js/node-sicredi)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n\u003e Uma biblioteca em Node.js para interagir com o WebService, [EcommResource](docs/manualECommAPISicredi.pdf), do Banco Sicredi, para gerenciamento de boletos.\n\u003e Esta tem como objetivo facilitar a criação, consulta, impressão etc de boletos utilizando Promise.\n\n### Instalação\n\n```\n$ npm install node-sicredi --save\n```\n\n## Como utilizar\n\n### ES6\n\n```js\nimport Sicredi from 'node-sicredi';\n\nconst sicredi = new Sicredi({\n  token: 'SEU_TOKEN',\n  agency: 'AGENCIA',\n  assignor: 'CEDENTE',\n  station: 'POSTO',\n});\n\n// Utilizando um método\nsicredi\n  .find({\n    dataInicio: '10/10/2018',\n    dataFim: '31/12/2018',\n    tipoData: 'DATA_EMISSAO',\n  })\n  .then(data =\u003e {\n    console.log(data);\n  })\n  .catch(err =\u003e console.log(err));\n```\n\n### CommonJS\n\n```js\nconst Sicredi = require('node-sicredi').default;\n\nconst sicredi = new Sicredi({\n  token: 'SEU_TOKEN',\n  agency: 'AGENCIA',\n  assignor: 'CEDENTE',\n  station: 'POSTO',\n});\n\nsicredi\n  .find({\n    dataInicio: '10/10/2018',\n    dataFim: '31/12/2018',\n    tipoData: 'DATA_EMISSAO',\n  })\n  .then(data =\u003e {\n    console.log(data);\n  })\n  .catch(err =\u003e console.log(err));\n```\n\n## Métodos\n\n### sicredi.auth('keyMaster')\n\n\u003e O método “auth” é responsável por criar uma chave criptografada, denominada chaveTransacao (chamamos de token), baseada na chave master.\n\n**Argumento**\n\n| Argument    | Type     |\n| ----------- | -------- |\n| `keyMaster` | _string_ |\n\n**Exemplo**\n\n```js\nimport Sicredi from 'node-sicredi';\n\nsicredi = new Sicredi({});\nsicredi.auth('keyMaster').then(data =\u003e {\n  //Chave de transação. Obs: Aqui chamamos de token\n});\n```\n\n### sicredi.create(body)\n\n\u003e O método “create” é responsável pela geração do boleto de Cobrança.\n\n**Argumento**\n\n| Argument | Type     |\n| -------- | -------- |\n| `body`   | _objeto_ |\n\n**Exemplo**\n\n```js\nimport Sicredi from 'node-sicredi';\n\nconst sicredi = new Sicredi({\n  token: 'SEU_TOKEN',\n  agency: 'AGENCIA',\n  assignor: 'CEDENTE',\n  station: 'POSTO',\n});\n\nconst body = {\n  nossoNumero: '',\n  codigoPagador: '',\n  tipoPessoa: '1',\n  nome: 'Cliente Teste',\n  endereco: 'Rua 1',\n  cidade: 'Rio de Janeiro',\n  uf: 'RJ',\n  cep: '99999999',\n  telefone: '9999999999',\n  email: 'cliente@email.com',\n  especieDocumento: 'B',\n  codigoSacadorAvalista: '000',\n  seuNumero: '0000000002',\n  dataVencimento: '16/05/2019',\n  valor: 6,\n  tipoDesconto: 'A',\n  valorDesconto1: null,\n  dataDesconto1: null,\n  valorDesconto2: null,\n  dataDesconto2: null,\n  valorDesconto3: null,\n  dataDesconto3: null,\n  tipoJuros: 'A',\n  juros: null,\n  multas: null,\n  descontoAntecipado: null,\n  informativo: 'teste1',\n  mensagem: 'teste',\n  codigoMensagem: '',\n};\n\nsicredi.create(body).then(data =\u003e {\n  // Boleto\n});\n```\n\n### sicredi.find(query)\n\n\u003e O método “find” é responsável pela consulta da situação de boletos.\n\n**Argumento**\n\n| Argument | Type     |\n| -------- | -------- |\n| `query`  | _objeto_ |\n\n**Exemplo**\n\n```js\nimport Sicredi from 'node-sicredi';\n\nconst sicredi = new Sicredi({\n  token: 'SEU_TOKEN',\n  agency: 'AGENCIA',\n  assignor: 'CEDENTE',\n  station: 'POSTO',\n});\n\nconst query = {\n  nossoNumero: 99999999,\n};\n\nsicredi.find(query).then(data =\u003e {\n  // Array Boleto(s)\n});\n```\n\n### sicredi.print(query)\n\n\u003e O método “print” é responsável pela impressão e reimpressão dos boletos de Cobrança.\n\n**Argumento**\n\n| Argument | Type     |\n| -------- | -------- |\n| `query`  | _objeto_ |\n\n**Exemplo**\n\n```js\nimport Sicredi from 'node-sicredi';\n\nconst sicredi = new Sicredi({\n  token: 'SEU_TOKEN',\n  agency: 'AGENCIA',\n  assignor: 'CEDENTE',\n  station: 'POSTO',\n});\n\nconst query = {\n  nossoNumero: 99999999,\n};\n\nsicredi.print(query).then(data =\u003e {\n  // Boleto\n});\n```\n\n### sicredi.change(body)\n\n\u003e O método “change” é responsável por alterar dados dos títulos via serviço.\n\n**Arguments**\n\n| Argument | Type     |\n| -------- | -------- |\n| `body`   | _objeto_ |\n\n**Exemplo**\n\n```js\nimport Sicredi from 'node-sicredi';\n\nconst sicredi = new Sicredi({\n  token: 'SEU_TOKEN',\n  agency: 'AGENCIA',\n  assignor: 'CEDENTE',\n  station: 'POSTO',\n});\n\nconst body = {\n  agencia: '1234',\n  posto: '99',\n  cedente: '12345',\n  nossoNumero: '999999999',\n  seuNumero: '9999999999',\n  instrucaoComando: 'ALTERACAO_SEU_NUMERO',\n  tipoVencimento: 'VISTA',\n};\n\nsicredi.change(body).then(data =\u003e {\n  //Resposta\n});\n```\n\n### sicredi.health()\n\n\u003e O método “health” é responsável pela verificação da disponibilidade do sistema de Cobrança.\n\n**Exemplo**\n\n```js\nimport Sicredi from 'node-sicredi';\n\nconst sicredi = new Sicredi({});\nsicredi.health().then(data =\u003e {\n  //Resposta\n});\n```\n\n## Contribuíndo\n\nPor favor, leia [CONTRIBUTING.md](CONTRIBUTING.md) para detalhes sobre o processo para enviar pull request.\n\n## Autor\n\n| ![Murilo Sandiego](https://avatars3.githubusercontent.com/u/11686438?s=150\u0026v=4) |\n| :-----------------------------------------------------------------------------: |\n|              [Murilo Sandiego](https://github.com/murilosandiego/)              |\n\nOlhe também a lista de [contribuidores](https://github.com/murilosandiego/node-sicredi/contributors).\n\n## License\n\nEste projeto está licencidado sobre a licença MIT - consulte o arquivo [LICENSE.md](LICENSE.md) para mais detalhes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurilosandiego%2Fnode-sicredi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmurilosandiego%2Fnode-sicredi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurilosandiego%2Fnode-sicredi/lists"}