{"id":15837134,"url":"https://github.com/afeiship/next-json2base64","last_synced_at":"2026-05-09T19:32:54.037Z","repository":{"id":57122734,"uuid":"185939761","full_name":"afeiship/next-json2base64","owner":"afeiship","description":"Json and base64 encode/decode.","archived":false,"fork":false,"pushed_at":"2026-05-04T08:40:54.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-04T10:31:42.526Z","etag":null,"topics":["b64","base64","json","next","parse","stringify"],"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/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-10T07:25:18.000Z","updated_at":"2026-05-04T08:40:59.000Z","dependencies_parsed_at":"2024-10-20T09:50:56.104Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/next-json2base64","commit_stats":{"total_commits":50,"total_committers":1,"mean_commits":50.0,"dds":0.0,"last_synced_commit":"c32f62c18a77cc653d2b2cec82ed93923c2c3e18"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/afeiship/next-json2base64","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-json2base64","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-json2base64/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-json2base64/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-json2base64/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/next-json2base64/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-json2base64/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32832970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["b64","base64","json","next","parse","stringify"],"created_at":"2024-10-05T15:21:03.934Z","updated_at":"2026-05-09T19:32:53.983Z","avatar_url":"https://github.com/afeiship.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# next-json2base64\n\u003e Json and base64 encode/decode.\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n## installation\n```bash\nnpm install -S @jswork/next-json2base64\n```\n\n## apis\n| api       | params   | description                                               |\n|-----------|----------|-----------------------------------------------------------|\n| base64    | -        | js-base64 reference.                                      |\n| decode    | (string) | Transform base64 string to js object.                     |\n| decodeURI | (string) | Transform base64 string to js object when is in url case. |\n| encode    | (object) | Transform object to base64 string.                        |\n| encodeURI | (object) | Transform object to base64 string when is in url case.    |\n\n## usage\n```js\nimport NxJson2base64 from '@jswork/next-json2base64';\n\n// code goes here:\nNxJson2base64.decode('eyJuYW1lIjoiYWZlaSIsImFnZSI6MTA4fQ==');\n// { name: 'afei', age: 108 }\n```\n\n## resources\n- https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/next-json2base64/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/next-json2base64\n[version-url]: https://npmjs.org/package/@jswork/next-json2base64\n\n[license-image]: https://img.shields.io/npm/l/@jswork/next-json2base64\n[license-url]: https://github.com/afeiship/next-json2base64/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-json2base64\n[size-url]: https://github.com/afeiship/next-json2base64/blob/master/dist/next-json2base64.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/next-json2base64\n[download-url]: https://www.npmjs.com/package/@jswork/next-json2base64\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-json2base64","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fnext-json2base64","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-json2base64/lists"}