# ansi-cursor-position

> Get the current position of the terminal cursor in an ANSI compatible terminal

Latest version **1.0.0** (published 2019-01-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install ansi-cursor-position
pnpm add ansi-cursor-position
yarn add ansi-cursor-position
bun add ansi-cursor-position
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-01-03 |
| First published | 2019-01-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Mathias Buus |
| Maintainers | mafintosh |

## Links

- npm: https://www.npmjs.com/package/ansi-cursor-position
- Repository: https://github.com/mafintosh/ansi-cursor-position
- Issues: https://github.com/mafintosh/ansi-cursor-position/issues
- npm.io page: https://npm.io/package/ansi-cursor-position

## Recent versions

- 1.0.0 (latest) — 2019-01-03

## README

# ansi-cursor-position

Get the current position of the terminal cursor in an ANSI compatible terminal.

```
npm install ansi-cursor-position
```

## Usage

``` js
const position = require('ansi-cursor-position')

position((x, y) => console.log('current cursor position is', x, y))
```

## License

MIT

---
_Source: https://npm.io/package/ansi-cursor-position · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
