{"id":16123485,"url":"https://github.com/jlchntoz/baseiching","last_synced_at":"2025-04-06T12:16:09.709Z","repository":{"id":70970019,"uuid":"56080875","full_name":"JLChnToZ/baseiching","owner":"JLChnToZ","description":"A base64-like encoding method but it uses hexagrams in I Ching.","archived":false,"fork":false,"pushed_at":"2016-04-12T17:14:25.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-13T06:07:11.636Z","etag":null,"topics":["base64","javascript"],"latest_commit_sha":null,"homepage":"https://code.moka-rin.moe/baseiching/","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/JLChnToZ.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-12T16:43:04.000Z","updated_at":"2017-05-28T12:40:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"9d6b6f0e-ee6a-4e39-80e1-f0183e21aa46","html_url":"https://github.com/JLChnToZ/baseiching","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"47d4e0e5543a7464ce8472c3fd37d6f433f5b6c0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JLChnToZ%2Fbaseiching","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JLChnToZ%2Fbaseiching/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JLChnToZ%2Fbaseiching/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JLChnToZ%2Fbaseiching/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JLChnToZ","download_url":"https://codeload.github.com/JLChnToZ/baseiching/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478330,"owners_count":20945267,"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","javascript"],"created_at":"2024-10-09T21:16:55.070Z","updated_at":"2025-04-06T12:16:09.685Z","avatar_url":"https://github.com/JLChnToZ.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Base易經\n--------\nA base64-like encoding method but it uses [hexagrams in I Ching](https://en.wikipedia.org/wiki/Hexagram_(I_Ching)).\n\n## How to Install\nIn node.js:\n```sh\nnpm install baseiching\n```\n, then\n```javascript\nvar baseiching = require('basaeiching');\n```\nOr in browsers:\n```html\n\u003cscript src=\"baseiching.js\"\u003e\u003c/script\u003e\n```\n## How to Use\n```javascript\nbaseiching.encode(source, [compress]);\n```\nConvert string / array or bytes / array buffer into base易經\nparameters:\n- source:string / array / array buffer, the source\n- compress:boolean, compressed output?\nreturns:\n- string, converted base易經 data.\n\n```javascript\nbaseiching.decode(source, [tostring]);\n```\nConvert the base易經 back to string / array of bytes\nparameters:\n- source:string, the base易經 encoded data\n- tostring:boolean, should convert the result into string?\nreturns:\n- string / array of bytes, raw data.\n\n```javascript\nbaseiching.setLang(lang);\n```\nSet the language varient\nparameters:\n- lang:string, which varient should be used? Possible values are 'cht' (Traditional Chinese), 'chs' (Simplified Chinese) and 'ja' (Japanese).\n\n## License\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlchntoz%2Fbaseiching","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlchntoz%2Fbaseiching","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlchntoz%2Fbaseiching/lists"}