{"id":22994263,"url":"https://github.com/jccdex/jcc_file","last_synced_at":"2025-04-02T12:41:14.812Z","repository":{"id":38218298,"uuid":"147506268","full_name":"JCCDex/jcc_file","owner":"JCCDex","description":"a tool to export and import keystore file with jccdex wallet","archived":false,"fork":false,"pushed_at":"2023-01-03T15:16:46.000Z","size":1730,"stargazers_count":0,"open_issues_count":18,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-01T02:03:07.920Z","etag":null,"topics":["blockchain","download-file","import-file","jccdex","keystore","qrcode-image","wallet"],"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/JCCDex.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}},"created_at":"2018-09-05T11:18:21.000Z","updated_at":"2019-09-03T11:18:33.000Z","dependencies_parsed_at":"2023-02-01T07:01:35.244Z","dependency_job_id":null,"html_url":"https://github.com/JCCDex/jcc_file","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/JCCDex%2Fjcc_file","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JCCDex%2Fjcc_file/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JCCDex%2Fjcc_file/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JCCDex%2Fjcc_file/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JCCDex","download_url":"https://codeload.github.com/JCCDex/jcc_file/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246819662,"owners_count":20839089,"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":["blockchain","download-file","import-file","jccdex","keystore","qrcode-image","wallet"],"created_at":"2024-12-15T05:17:39.372Z","updated_at":"2025-04-02T12:41:14.773Z","avatar_url":"https://github.com/JCCDex.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jcc_file\n\n![npm](https://img.shields.io/npm/v/jcc_file.svg)\n[![Build Status](https://travis-ci.com/JCCDex/jcc_file.svg?branch=master)](https://travis-ci.com/JCCDex/jcc_file)\n[![Coverage Status](https://coveralls.io/repos/github/JCCDex/jcc_file/badge.svg?branch=master)](https://coveralls.io/github/JCCDex/jcc_file?branch=master)\n[![npm downloads](https://img.shields.io/npm/dm/jcc_file.svg)](http://npm-stat.com/charts.html?package=jcc_file)\n\n## Installtion\n\n```shell\nnpm install jcc_file\n```\n\n## API\n\n### importFile\n\nimport file to get result, if we need, we also could decode qrcode image.\n\n```javascript\nconst importFile = require('jcc_file').importFile\n// import { importFile } from 'jcc_file';\nimportFile(event, needConvert).then(res =\u003e {}).catch(error =\u003e {})\n```\n\nParameters\n\n- `event`- `object`\n- `needConvert`- `boolean`\n  \n  - if decode image\n\n### exportToText\n\nexport text content to text file\n\n```javascript\nconst exportToText = require('jcc_file').exportToText\n// import { exportToText } from 'jcc_file';\nexportToText(text, name).then(() =\u003e {}).catch(error =\u003e {})\n```\n\nParameters\n\n- `text`- `string`\n- `name`- `string`\n\n### exportToQR\n\nexport text content to qrcode image\n\n```javascript\nconst exportToQR = require('jcc_file').exportToQR\n// import { exportToQR } from 'jcc_file';\nexportToQR(text, name).then(() =\u003e {}).catch(error =\u003e {})\n```\n\nParameters\n\n- `text`- `string`\n- `name`- `string`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjccdex%2Fjcc_file","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjccdex%2Fjcc_file","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjccdex%2Fjcc_file/lists"}