{"id":19859584,"url":"https://github.com/youngjuning/wxbase64","last_synced_at":"2025-05-02T02:31:36.690Z","repository":{"id":89684826,"uuid":"131463219","full_name":"youngjuning/wxBase64","owner":"youngjuning","description":":building_construction:在小程序中使用 js-base64 库","archived":false,"fork":false,"pushed_at":"2018-04-29T03:33:09.000Z","size":5,"stargazers_count":21,"open_issues_count":1,"forks_count":17,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T21:27:15.576Z","etag":null,"topics":["base64","miniapp","weixin","wexin","wxapp"],"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/youngjuning.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}},"created_at":"2018-04-29T03:32:59.000Z","updated_at":"2024-01-08T04:54:02.000Z","dependencies_parsed_at":"2024-01-06T23:54:38.492Z","dependency_job_id":"91e09e99-ffa6-41b2-bba4-fe9283bb032a","html_url":"https://github.com/youngjuning/wxBase64","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/youngjuning%2FwxBase64","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngjuning%2FwxBase64/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngjuning%2FwxBase64/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngjuning%2FwxBase64/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/youngjuning","download_url":"https://codeload.github.com/youngjuning/wxBase64/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251972523,"owners_count":21673618,"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":["base64","miniapp","weixin","wexin","wxapp"],"created_at":"2024-11-12T14:29:18.061Z","updated_at":"2025-05-02T02:31:31.683Z","avatar_url":"https://github.com/youngjuning.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wxBase64\n\n## 引入\n\n### node.js\n\n```js\nlet Base64 = require('js-base64').Base64\n```\n\n### es6+\n\n```js\nimport {Base64} from '/utils/base64.min.js'\n```\n\n## 使用\n\n```js\nBase64.encode('youngjuning');  // eW91bmdqdW5pbmc=\nBase64.encode('杨俊宁');    // 5p2o5L+K5a6B\nBase64.encodeURI('杨俊宁'); // 5bCP6aO85by-\n\nBase64.decode('eW91bmdqdW5pbmc=');  // youngjuning\nBase64.decode('5p2o5L+K5a6B');  // 杨俊宁\n// note .decodeURI() is unnecessary since it accepts both flavors\nBase64.decode('5bCP6aO85by-');  // 杨俊宁\n```\n\n## 感谢\n\n感谢 dankogai [![GitHub followers](https://img.shields.io/github/followers/dankogai.svg?style=social\u0026label=Follow)](https://github.com/dankogai) 开发了 js-base64 [![GitHub stars](https://img.shields.io/github/stars/dankogai/js-base64.svg?style=social\u0026label=Stars)](https://github.com/dankogai/js-base64)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoungjuning%2Fwxbase64","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoungjuning%2Fwxbase64","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoungjuning%2Fwxbase64/lists"}