Socket
Socket
Sign inDemoInstall

console-pos

Package Overview
Dependencies
3
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    console-pos

console-pos returns the current position of your cursor in your terminal.


Version published
Maintainers
1
Install size
19.3 kB
Created

Readme

Source

console-pos

NPM

NPM version Build Status

console-pos returns the current position of your cursor in your terminal.

Install

$ npm install console-pos

Use

console-pos takes an output stream as a required argument (such as process.stdout).

consolePos = require('console-pos')(process.stdout)

Use row to get the current position of the cursor on the current line.

consolePos.row()

License

MIT © Mike Groseclose

Keywords

FAQs

Last updated on 14 Sep 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc