{"id":13583517,"url":"https://github.com/anseki/readline-sync","last_synced_at":"2025-04-06T21:32:15.700Z","repository":{"id":10327962,"uuid":"12457971","full_name":"anseki/readline-sync","owner":"anseki","description":"Synchronous Readline for interactively running to have a conversation with the user via a console(TTY).","archived":true,"fork":false,"pushed_at":"2022-11-03T03:50:16.000Z","size":278,"stargazers_count":803,"open_issues_count":0,"forks_count":64,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-10-30T04:44:04.426Z","etag":null,"topics":["block","command","conversation","interactive","javascript","keyboard","password","prompt","question","readline","repl","synchronous","tty","wait"],"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/anseki.png","metadata":{"files":{"readme":"README-Deprecated.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":"2013-08-29T10:57:13.000Z","updated_at":"2024-10-25T13:14:04.000Z","dependencies_parsed_at":"2023-01-13T15:52:26.845Z","dependency_job_id":null,"html_url":"https://github.com/anseki/readline-sync","commit_stats":null,"previous_names":[],"tags_count":60,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anseki%2Freadline-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anseki%2Freadline-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anseki%2Freadline-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anseki%2Freadline-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anseki","download_url":"https://codeload.github.com/anseki/readline-sync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222411224,"owners_count":16980267,"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":["block","command","conversation","interactive","javascript","keyboard","password","prompt","question","readline","repl","synchronous","tty","wait"],"created_at":"2024-08-01T15:03:32.597Z","updated_at":"2024-11-06T00:30:22.981Z","avatar_url":"https://github.com/anseki.png","language":"JavaScript","readme":"# readlineSync\n\n## \u003ca name=\"deprecated_methods_and_options\"\u003e\u003c/a\u003eDeprecated Methods and Options\n\nThe readlineSync current version is fully compatible with older version.  \nThe following methods and options are deprecated.\n\n### \u003ca name=\"deprecated_methods_and_options-setprint_method\"\u003e\u003c/a\u003e`setPrint` method\n\nUse the [`print`](README.md#basic_options-print) option.  \nFor the [Default Options](README.md#basic_options), use:\n\n```js\nreadlineSync.setDefaultOptions({print: value});\n```\n\ninstead of:\n\n```js\nreadlineSync.setPrint(value);\n```\n\n### \u003ca name=\"deprecated_methods_and_options-setprompt_method\"\u003e\u003c/a\u003e`setPrompt` method\n\nUse the [`prompt`](README.md#basic_options-prompt) option.  \nFor the [Default Options](README.md#basic_options), use:\n\n```js\nreadlineSync.setDefaultOptions({prompt: value});\n```\n\ninstead of:\n\n```js\nreadlineSync.setPrompt(value);\n```\n\n### \u003ca name=\"deprecated_methods_and_options-setencoding_method\"\u003e\u003c/a\u003e`setEncoding` method\n\nUse the [`encoding`](README.md#basic_options-encoding) option.  \nFor the [Default Options](README.md#basic_options), use:\n\n```js\nreadlineSync.setDefaultOptions({encoding: value});\n```\n\ninstead of:\n\n```js\nreadlineSync.setEncoding(value);\n```\n\n### \u003ca name=\"deprecated_methods_and_options-setmask_method\"\u003e\u003c/a\u003e`setMask` method\n\nUse the [`mask`](README.md#basic_options-mask) option.  \nFor the [Default Options](README.md#basic_options), use:\n\n```js\nreadlineSync.setDefaultOptions({mask: value});\n```\n\ninstead of:\n\n```js\nreadlineSync.setMask(value);\n```\n\n### \u003ca name=\"deprecated_methods_and_options-setbuffersize_method\"\u003e\u003c/a\u003e`setBufferSize` method\n\nUse the [`bufferSize`](README.md#basic_options-buffersize) option.  \nFor the [Default Options](README.md#basic_options), use:\n\n```js\nreadlineSync.setDefaultOptions({bufferSize: value});\n```\n\ninstead of:\n\n```js\nreadlineSync.setBufferSize(value);\n```\n\n### \u003ca name=\"deprecated_methods_and_options-noechoback_option\"\u003e\u003c/a\u003e`noEchoBack` option\n\nUse [`hideEchoBack`](README.md#basic_options-hideechoback) option instead of it.\n\n### \u003ca name=\"deprecated_methods_and_options-notrim_option\"\u003e\u003c/a\u003e`noTrim` option\n\nUse [`keepWhitespace`](README.md#basic_options-keepwhitespace) option instead of it.\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanseki%2Freadline-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanseki%2Freadline-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanseki%2Freadline-sync/lists"}