1.0.0 • Published 4 years ago

supports-sixel v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

supports-sixel Travis CI Build Status

Detect whether a terminal can display sixels.

NPM Badge

Install

npm install supports-sixel

Usage

const supportsSixel = require("supports-sixel");

(async () => {
	const isSupported = await supportsSixel();

	console.log(isSupported ? "Sixels are supported!" : "Sixels aren't supported!");
})();

API

supportsSixel()

Returns a promise that resolves with a boolean.

Related

  • replied - Log ansi codes and get the stdin response.
1.0.0

4 years ago

0.0.0

4 years ago