supports-sixel
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i supports-sixel

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

3.18 kB

Total Files

6

Last publish

Collaborators

  • richienb