check-caps

1.0.4 • Public • Published

check-caps

Native node module to check if caps lock is on/off (Windows, Mac OS, Linux)

const checkcaps = require('check-caps');
// get the status of caps lock (boolean)..
checkcaps.status();

Support

  • (✔) Windows
  • (✔) Mac OS
  • (✔) Linux

Note Both Mac OS and Linux support is based on X11/XKBlib.h

Build

To build locally on your machine

$ npm run build-addon

License

MIT

Package Sidebar

Install

npm i check-caps

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

2.67 kB

Total Files

5

Last publish

Collaborators

  • ahkohd