{"id":19360697,"url":"https://github.com/dgck81lnn/wenyan-stdin","last_synced_at":"2026-03-02T15:32:13.136Z","repository":{"id":109518887,"uuid":"442002389","full_name":"DGCK81LNN/wenyan-stdin","owner":"DGCK81LNN","description":"閱文秘術：文言lang scanf 语法糖 · Wenyan library to synchronously ‘scanf‘ (in Node.js)","archived":false,"fork":false,"pushed_at":"2024-04-04T15:03:08.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-06T19:22:59.878Z","etag":null,"topics":["wenyan","wenyan-lang","wenyan-programming-language"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DGCK81LNN.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-12-26T23:22:39.000Z","updated_at":"2024-11-06T02:43:57.000Z","dependencies_parsed_at":"2023-07-28T07:01:19.923Z","dependency_job_id":null,"html_url":"https://github.com/DGCK81LNN/wenyan-stdin","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGCK81LNN%2Fwenyan-stdin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGCK81LNN%2Fwenyan-stdin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGCK81LNN%2Fwenyan-stdin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGCK81LNN%2Fwenyan-stdin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DGCK81LNN","download_url":"https://codeload.github.com/DGCK81LNN/wenyan-stdin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240475236,"owners_count":19807293,"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":["wenyan","wenyan-lang","wenyan-programming-language"],"created_at":"2024-11-10T07:19:07.210Z","updated_at":"2026-03-02T15:32:08.107Z","avatar_url":"https://github.com/DGCK81LNN.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 閱文秘術 stdin\n\nSynchronously scan stdin.\n\n# Usage\n\nInstall with [wyg](https://github.com/wenyan-lang/wyg):\n\n    wyg install stdin\n\nImport:\n\n    吾嘗觀『閱文秘術』之書。方悟「閱行」「閱字」「閱白」「閱言」「閱數」「閱畢乎」之義。\n\nRead line (returns string including EOL):\n\n    閱一行。名之曰「子」。\n\nRead character:\n\n    閱一字。名之曰「丑」。\n\nScan whitespace (returns string but mostly useless):\n\n    閱一白。噫。\n\nScan whitespace-terminated word:\n\n    閱一言。名之曰「寅」。\n\nScan JSON number:\n\n    閱一數。名之曰「卯」。\n\n(to read Hanzi-based numbers, use [解析整數].)\n\nScan multiple values at a time (up to 9):\n\n    閱三數。名之曰「甲」曰「乙」曰「丙」。\n\nThe above methods return `undefined` on EOF or format mismatch. \n\nTo test if EOF has been encountered:\n\n    若已閱畢者。\n      ...\n    也。\n    若未閱畢者。\n      ...\n    也。\n\n[解析整數]: https://github.com/alainsaas/zh_parseint-wy/tree/master\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgck81lnn%2Fwenyan-stdin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgck81lnn%2Fwenyan-stdin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgck81lnn%2Fwenyan-stdin/lists"}