UNPKG

x11

Version:

A pure node.js JavaScript client implementing X Window (X11) protocol and extensions.

10 lines (9 loc) 245 B
var x11 = require('../../lib'); var X = x11.createClient(function(err, display) { X.ListFonts('*', 1000, function(err, list) { list.forEach(function(ext) { console.log(ext); }); X.terminate(); }); });