README
node-term-size
Check the size of your term with this node addon.
var term = require("./terminal.js");
var size = term();
console.log(size);
[ 100, 90 ]
C++ addon to get current terminal size
<script type="module">
import nodeTermSize from 'https://cdn.skypack.dev/node-term-size';
</script>
Check the size of your term with this node addon.
var term = require("./terminal.js");
var size = term();
console.log(size);
[ 100, 90 ]