{"id":15653557,"url":"https://github.com/bubkoo/get-cursor-position","last_synced_at":"2025-07-18T11:08:42.387Z","repository":{"id":57157901,"uuid":"53049469","full_name":"bubkoo/get-cursor-position","owner":"bubkoo","description":"🐾 Get the cursor's current position in your terminal.","archived":false,"fork":false,"pushed_at":"2022-09-30T01:28:23.000Z","size":27,"stargazers_count":29,"open_issues_count":7,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-30T17:04:17.172Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","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/bubkoo.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}},"created_at":"2016-03-03T12:43:04.000Z","updated_at":"2024-04-17T17:33:56.000Z","dependencies_parsed_at":"2022-08-28T15:01:58.948Z","dependency_job_id":null,"html_url":"https://github.com/bubkoo/get-cursor-position","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/bubkoo%2Fget-cursor-position","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bubkoo%2Fget-cursor-position/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bubkoo%2Fget-cursor-position/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bubkoo%2Fget-cursor-position/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bubkoo","download_url":"https://codeload.github.com/bubkoo/get-cursor-position/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251748946,"owners_count":21637417,"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":[],"created_at":"2024-10-03T12:46:02.067Z","updated_at":"2025-04-30T17:04:23.821Z","avatar_url":"https://github.com/bubkoo.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# get-cursor-position\n\n\u003e Get the cursor's current position in your terminal.\n \n[![MIT License](https://img.shields.io/badge/license-MIT_License-green.svg?style=flat-square)](https://github.com/bubkoo/get-cursor-position/blob/master/LICENSE)\n[![Package Quality](http://npm.packagequality.com/shield/get-cursor-position.svg)](http://packagequality.com/#?package=get-cursor-position)\n\n## Install\n\n```\n$ npm install get-cursor-position --save\n```\n\n## Usage\n\nAsync:\n\n```js\n\nvar getCursorPosition = require('get-cursor-position');\n\ngetCursorPosition.async(function(pos) {\n    console.log('row: ' + pos.row);\n    console.log('col: ' + pos.col);\n});\n\n```\n\nSync:\n\n```js\nvar getCursorPosition = require('get-cursor-position');\nvar pos = getCursorPosition.sync();\nconsole.log('row: ' + pos.row);\nconsole.log('col: ' + pos.col);\n```\n\n## Contributing\n\nPull requests and stars are highly welcome.\n\nFor bugs and feature requests, please [create an issue](https://github.com/bubkoo/get-cursor-position/issues/new).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbubkoo%2Fget-cursor-position","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbubkoo%2Fget-cursor-position","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbubkoo%2Fget-cursor-position/lists"}