{"_id":"@daiyam/xterm-tab-addon-ligatures","_rev":"6-4cbf9a69804ef9e466aeadf80dc5ecb5","name":"@daiyam/xterm-tab-addon-ligatures","dist-tags":{"latest":"0.11.0-beta.169.0"},"versions":{"0.10.0-beta.98.0":{"name":"@daiyam/xterm-tab-addon-ligatures","version":"0.10.0-beta.98.0","keywords":["font","ligature","terminal","xterm","xterm.js"],"author":{"url":"https://xtermjs.org/","name":"The xterm.js authors"},"license":"MIT","_id":"@daiyam/xterm-tab-addon-ligatures@0.10.0-beta.98.0","maintainers":[{"name":"daiyam","email":"daiyam@zokugun.org"}],"homepage":"https://github.com/xtermjs/xterm.js/tree/master#readme","bugs":{"url":"https://github.com/xtermjs/xterm.js/issues"},"dist":{"shasum":"bf1967a69075020b7a1807ad1c5397adcbb5c6b8","tarball":"https://registry.npmjs.org/@daiyam/xterm-tab-addon-ligatures/-/xterm-tab-addon-ligatures-0.10.0-beta.98.0.tgz","fileCount":13,"integrity":"sha512-1VmQrj/zzxN0hYwVyuWICalibuLDdyZMr0/5NnISrY7Elsc3OXKZ62YUxEgqvvULfIU5NUajNuy9CyFB9bA/Tw==","signatures":[{"sig":"MEUCIQC17i+JoFvuTiHZsMp4/geOpHSsa9wdlR2n5hGEhLmoEQIgCkyw1hUNMcEXeZOMEKIN9oRi6pMt9FRugJamSivYMD8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2334411},"main":"lib/addon-ligatures.js","types":"typings/addon-ligatures.d.ts","module":"lib/addon-ligatures.mjs","engines":{"node":">8.0.0"},"gitHead":"db1275be7f19e6ee8f2e7373fee30dc5d56a4a31","scripts":{"test":"nyc mocha out/**/*.test.js","build":"tsc -p src","watch":"tsc -w -p src","package":"webpack","prepare":"node bin/download-fonts.js","pretest":"npm run build","prepackage":"npm run build","prepublish":"npm run package"},"_npmUser":{"name":"daiyam","email":"daiyam@zokugun.org"},"repository":{"url":"git+https://github.com/xtermjs/xterm.js.git#master","type":"git"},"_npmVersion":"10.8.2","description":"Add support for programming ligatures to xterm.js","directories":{},"_nodeVersion":"18.20.7","dependencies":{"font-finder":"^1.1.0","font-ligatures":"^1.4.1"},"_hasShrinkwrap":false,"devDependencies":{"axios":"^1.6.0","sinon":"6.3.5","yauzl":"^2.10.0","mkdirp":"0.5.5","@types/sinon":"^5.0.1"},"peerDependencies":{"@daiyam/xterm-tab":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/xterm-tab-addon-ligatures_0.10.0-beta.98.0_1742136047396_0.9159801103077732","host":"s3://npm-registry-packages-npm-production"}},"0.10.0-beta.112.0":{"name":"@daiyam/xterm-tab-addon-ligatures","version":"0.10.0-beta.112.0","keywords":["font","ligature","terminal","xterm","xterm.js"],"author":{"url":"https://xtermjs.org/","name":"The xterm.js authors"},"license":"MIT","_id":"@daiyam/xterm-tab-addon-ligatures@0.10.0-beta.112.0","maintainers":[{"name":"daiyam","email":"daiyam@zokugun.org"}],"homepage":"https://github.com/xtermjs/xterm.js/tree/master#readme","bugs":{"url":"https://github.com/xtermjs/xterm.js/issues"},"dist":{"shasum":"3c63c9cfe950ef24ab4035ef61a9c06852c2c9bd","tarball":"https://registry.npmjs.org/@daiyam/xterm-tab-addon-ligatures/-/xterm-tab-addon-ligatures-0.10.0-beta.112.0.tgz","fileCount":13,"integrity":"sha512-updAAYCX3a/cm0+RHNAkbDbJZcmpFbCDwnrASr6ZOb1rZGGInJVcGABVe9JVP+kVuO2ZXUO+WO5r1+GvO9EfMA==","signatures":[{"sig":"MEYCIQDmSdeVs6XWsNJWO58XaijlnCne3UGyolkfjuYgzE+WwAIhAJdDBL+fntDLa+ObJyGcV/pvZqAO610LJIqUeKLMWnCf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2089690},"main":"lib/addon-ligatures.js","types":"typings/addon-ligatures.d.ts","module":"lib/addon-ligatures.mjs","engines":{"node":">8.0.0"},"gitHead":"a8cec5ca7ae103b38bcc4c305579cbedfa27ed5e","scripts":{"test":"nyc mocha out/**/*.test.js","build":"tsc -p src","watch":"tsc -w -p src","package":"webpack","prepare":"node bin/download-fonts.js","pretest":"npm run build","prepackage":"npm run build","prepublish":"npm run package"},"_npmUser":{"name":"daiyam","email":"daiyam@zokugun.org"},"repository":{"url":"git+https://github.com/xtermjs/xterm.js.git#master","type":"git"},"_npmVersion":"10.8.2","description":"Add support for programming ligatures to xterm.js","directories":{},"_nodeVersion":"18.20.8","dependencies":{"font-finder":"^1.1.0","font-ligatures":"^1.4.1"},"_hasShrinkwrap":false,"devDependencies":{"axios":"^1.6.0","sinon":"6.3.5","yauzl":"^2.10.0","mkdirp":"0.5.5","@types/sinon":"^5.0.1"},"peerDependencies":{"@daiyam/xterm-tab":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/xterm-tab-addon-ligatures_0.10.0-beta.112.0_1754751669989_0.6347184861553994","host":"s3://npm-registry-packages-npm-production"}},"0.10.0-beta.118.0":{"name":"@daiyam/xterm-tab-addon-ligatures","version":"0.10.0-beta.118.0","keywords":["font","ligature","terminal","xterm","xterm.js"],"author":{"url":"https://xtermjs.org/","name":"The xterm.js authors"},"license":"MIT","_id":"@daiyam/xterm-tab-addon-ligatures@0.10.0-beta.118.0","maintainers":[{"name":"daiyam","email":"daiyam@zokugun.org"}],"homepage":"https://github.com/xtermjs/xterm.js/tree/master#readme","bugs":{"url":"https://github.com/xtermjs/xterm.js/issues"},"dist":{"shasum":"c51d33f5213ed97112ad3963dfe2b2f74d70e71c","tarball":"https://registry.npmjs.org/@daiyam/xterm-tab-addon-ligatures/-/xterm-tab-addon-ligatures-0.10.0-beta.118.0.tgz","fileCount":13,"integrity":"sha512-JSXf4YQsSGnDQ0oKl28OJFcO6uC/ZN/LOPrL+8Hak3FF6WihRGEeolZ7EKKXPHxhqQ9LXoGLAW5wWRZVP+UMQg==","signatures":[{"sig":"MEUCIQDoqUEtRpBLQNIWtyEbpEdrmk+jrHIh7xd80uW0dohB5QIgcOsYDCtFJ2So1L1c/5bVKfZ85WDOt1c0+2Ic/adbSiQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2089690},"main":"lib/addon-ligatures.js","types":"typings/addon-ligatures.d.ts","module":"lib/addon-ligatures.mjs","engines":{"node":">8.0.0"},"gitHead":"c5062d61d62d4a13bb975a8791103c6bd025a641","scripts":{"test":"nyc mocha out/**/*.test.js","build":"tsc -p src","watch":"tsc -w -p src","package":"webpack","prepare":"node bin/download-fonts.js","pretest":"npm run build","prepackage":"npm run build","prepublish":"npm run package"},"_npmUser":{"name":"daiyam","email":"daiyam@zokugun.org"},"repository":{"url":"git+https://github.com/xtermjs/xterm.js.git#master","type":"git"},"_npmVersion":"10.8.2","description":"Add support for programming ligatures to xterm.js","directories":{},"_nodeVersion":"18.20.8","dependencies":{"font-finder":"^1.1.0","font-ligatures":"^1.4.1"},"_hasShrinkwrap":false,"devDependencies":{"axios":"^1.6.0","sinon":"6.3.5","yauzl":"^2.10.0","mkdirp":"0.5.5","@types/sinon":"^5.0.1"},"peerDependencies":{"@daiyam/xterm-tab":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/xterm-tab-addon-ligatures_0.10.0-beta.118.0_1757585625723_0.12892228161741093","host":"s3://npm-registry-packages-npm-production"}},"0.10.0-beta.119.0":{"name":"@daiyam/xterm-tab-addon-ligatures","version":"0.10.0-beta.119.0","keywords":["font","ligature","terminal","xterm","xterm.js"],"author":{"url":"https://xtermjs.org/","name":"The xterm.js authors"},"license":"MIT","_id":"@daiyam/xterm-tab-addon-ligatures@0.10.0-beta.119.0","maintainers":[{"name":"daiyam","email":"daiyam@zokugun.org"}],"homepage":"https://github.com/xtermjs/xterm.js/tree/master#readme","bugs":{"url":"https://github.com/xtermjs/xterm.js/issues"},"dist":{"shasum":"f672bc79f08647c4f8dca7b67435c89d169cebc6","tarball":"https://registry.npmjs.org/@daiyam/xterm-tab-addon-ligatures/-/xterm-tab-addon-ligatures-0.10.0-beta.119.0.tgz","fileCount":13,"integrity":"sha512-cbzKg4VeCnnAkf4Rmyf0SpRvMM0GJUYiloNCHOp9hrR0YI2FkKrNuJbTwxqvA7Ge7+BoglTran9KSRTxF8fi5Q==","signatures":[{"sig":"MEUCIQCsKgxNGoqD/3tk0VBhIk5DR0FqpzA3CBRC3a9zKnMEHgIgNttdWWh8qulpfk3UShhImjwK1cbqguRcPiVJIJczPoU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2089690},"main":"lib/addon-ligatures.js","types":"typings/addon-ligatures.d.ts","module":"lib/addon-ligatures.mjs","engines":{"node":">8.0.0"},"gitHead":"bcc015cbe7e7b67aad78405ee3ca8e701547ecde","scripts":{"test":"nyc mocha out/**/*.test.js","build":"tsc -p src","watch":"tsc -w -p src","package":"webpack","prepare":"node bin/download-fonts.js","pretest":"npm run build","prepackage":"npm run build","prepublish":"npm run package"},"_npmUser":{"name":"daiyam","email":"daiyam@zokugun.org"},"repository":{"url":"git+https://github.com/xtermjs/xterm.js.git#master","type":"git"},"_npmVersion":"10.8.2","description":"Add support for programming ligatures to xterm.js","directories":{},"_nodeVersion":"18.20.8","dependencies":{"font-finder":"^1.1.0","font-ligatures":"^1.4.1"},"_hasShrinkwrap":false,"devDependencies":{"axios":"^1.6.0","sinon":"6.3.5","yauzl":"^2.10.0","mkdirp":"0.5.5","@types/sinon":"^5.0.1"},"peerDependencies":{"@daiyam/xterm-tab":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/xterm-tab-addon-ligatures_0.10.0-beta.119.0_1760811790075_0.49340317688008706","host":"s3://npm-registry-packages-npm-production"}},"0.10.0-beta.169.0":{"name":"@daiyam/xterm-tab-addon-ligatures","version":"0.10.0-beta.169.0","keywords":["font","ligature","terminal","xterm","xterm.js"],"author":{"url":"https://xtermjs.org/","name":"The xterm.js authors"},"license":"MIT","_id":"@daiyam/xterm-tab-addon-ligatures@0.10.0-beta.169.0","maintainers":[{"name":"daiyam","email":"daiyam@zokugun.org"}],"homepage":"https://github.com/daiyam/xterm-tab/tree/master#readme","bugs":{"url":"https://github.com/daiyam/xterm-tab/issues"},"dist":{"shasum":"43f7bb1d37b5b2943ed3129804dd0efb2ef1b494","tarball":"https://registry.npmjs.org/@daiyam/xterm-tab-addon-ligatures/-/xterm-tab-addon-ligatures-0.10.0-beta.169.0.tgz","fileCount":26,"integrity":"sha512-po7nlrUHkRUyJy5tqg2s8KAGFlOiWg+SSeCwz+w65IFjVllH8NQPciGw0VnMaPXeMHI3hEV//aaeqWDNmgNp1g==","signatures":[{"sig":"MEYCIQDUl8FxgXt5M2seVMFPxm1HxQ0HDnZnmF2FT/IdpvrxZwIhANOlf5V4/49sOGSQCF7zw5rOnKeTjYAK7SbUDgDv6qDF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":999678},"main":"lib/addon-ligatures.js","types":"typings/addon-ligatures.d.ts","module":"lib/addon-ligatures.mjs","engines":{"node":">8.0.0"},"gitHead":"68cea3370e95fbb998cd0c29083505d6c8400953","scripts":{"test":"nyc mocha out/**/*.test.js","build":"tsgo -p src","watch":"tsgo -w -p src","package":"webpack","pretest":"npm run build","prepackage":"npm run build","prepublish":"npm run package"},"_npmUser":{"name":"daiyam","email":"daiyam@zokugun.org"},"repository":{"url":"git+https://github.com/daiyam/xterm-tab.git#master","type":"git"},"_npmVersion":"10.9.4","description":"Add support for programming ligatures to xterm.js","directories":{},"_nodeVersion":"22.22.0","dependencies":{"lru-cache":"^6.0.0","opentype.js":"^0.8.0"},"_hasShrinkwrap":false,"devDependencies":{"axios":"^1.6.0","yauzl":"^2.10.0","mkdirp":"0.5.5","font-finder":"^1.1.0","@types/lru-cache":"^5.1.0","@types/opentype.js":"^0.7.0"},"_npmOperationalInternal":{"tmp":"tmp/xterm-tab-addon-ligatures_0.10.0-beta.169.0_1772928035664_0.608352464234647","host":"s3://npm-registry-packages-npm-production"}},"0.11.0-beta.169.0":{"name":"@daiyam/xterm-tab-addon-ligatures","version":"0.11.0-beta.169.0","description":"Add support for programming ligatures to xterm.js","author":{"name":"The xterm.js authors","url":"https://xtermjs.org/"},"main":"lib/addon-ligatures.js","module":"lib/addon-ligatures.mjs","types":"typings/addon-ligatures.d.ts","repository":{"type":"git","url":"git+https://github.com/daiyam/xterm-tab.git#master"},"engines":{"node":">8.0.0"},"scripts":{"build":"tsgo -p src","watch":"tsgo -w -p src","prepackage":"npm run build","package":"webpack","pretest":"npm run build","test":"nyc mocha out/**/*.test.js","prepublish":"npm run package"},"keywords":["font","ligature","terminal","xterm","xterm.js"],"license":"MIT","dependencies":{"lru-cache":"^6.0.0","opentype.js":"^0.8.0"},"devDependencies":{"@types/lru-cache":"^5.1.0","@types/opentype.js":"^0.7.0","axios":"^1.6.0","font-finder":"^1.1.0","mkdirp":"0.5.5","yauzl":"^2.10.0"},"_id":"@daiyam/xterm-tab-addon-ligatures@0.11.0-beta.169.0","gitHead":"13e1429cd46685d2f0fd21e80130a37548280de1","bugs":{"url":"https://github.com/daiyam/xterm-tab/issues"},"homepage":"https://github.com/daiyam/xterm-tab/tree/master#readme","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-wI6xxcyaRCoXeYdp9o75tRKNjaoDSlGhm3xEweK9HA915YZirnRP6Wnpy+kIo90nOlX0hhvEuC3aS7TzTLIXuA==","shasum":"5ff37f14e2f2b10397cde27e1fe2655e9a4e0631","tarball":"https://registry.npmjs.org/@daiyam/xterm-tab-addon-ligatures/-/xterm-tab-addon-ligatures-0.11.0-beta.169.0.tgz","fileCount":26,"unpackedSize":999678,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDyy/gS3U5jrDarbIAj8Bp0p2u9tFVcbKP56GeG2KmbEAIgCEfJMk5vSBt51VHYq5icR4sX0lBKjphQUkg4ioHbySM="}]},"_npmUser":{"name":"daiyam","email":"daiyam@zokugun.org"},"directories":{},"maintainers":[{"name":"daiyam","email":"daiyam@zokugun.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/xterm-tab-addon-ligatures_0.11.0-beta.169.0_1772929096145_0.8286400280305375"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-16T14:40:47.343Z","modified":"2026-03-08T00:18:16.472Z","0.10.0-beta.98.0":"2025-03-16T14:40:47.655Z","0.10.0-beta.112.0":"2025-08-09T15:01:10.314Z","0.10.0-beta.118.0":"2025-09-11T10:13:45.945Z","0.10.0-beta.119.0":"2025-10-18T18:23:10.340Z","0.10.0-beta.169.0":"2026-03-08T00:00:35.876Z","0.11.0-beta.169.0":"2026-03-08T00:18:16.358Z"},"bugs":{"url":"https://github.com/daiyam/xterm-tab/issues"},"author":{"name":"The xterm.js authors","url":"https://xtermjs.org/"},"license":"MIT","homepage":"https://github.com/daiyam/xterm-tab/tree/master#readme","keywords":["font","ligature","terminal","xterm","xterm.js"],"repository":{"type":"git","url":"git+https://github.com/daiyam/xterm-tab.git#master"},"description":"Add support for programming ligatures to xterm.js","maintainers":[{"name":"daiyam","email":"daiyam@zokugun.org"}],"readme":"## @xterm/addon-ligatures\n\nAdd support for programming ligatures to [xterm.js] when running in environments with access to [Node.js] APIs (such as [Electron]).\n\n### Requirements\n\n * [Node.js] 8.x or higher (present in [Electron] 1.8.3 or higher)\n * [xterm.js] 4.0.0 or higher using the default canvas renderer\n\n### Install\n\n```bash\nnpm install --save @xterm/addon-ligatures\n```\n\n### Usage\n\n```ts\nimport { Terminal } from '@daiyam/xterm-tab';\nimport { LigaturesAddon } from 'xterm-addon-ligatures';\n\nconst terminal = new Terminal();\nconst ligaturesAddon = new LigaturesAddon();\nterminal.open(containerElement);\nterminal.loadAddon(ligaturesAddon);\n```\n\n### How It Works\n\nIn a browser environment, font ligature information is read directly by the web browser and used to render text correctly without any intervention from the developer. As of version 3, xterm.js uses the canvas to render characters individually, resulting in a significant performance boost. However, this means that it can no longer lean on the browser to determine when to draw font ligatures.\n\nThis package locates the font file on disk for the font currently in use by the terminal and parses the ligature information out of it (via the [font-ligatures] package). As text is rendered in xterm.js, this package annotates it with the locations of ligatures, allowing xterm.js to render it correctly.\n\nSince this package depends on being able to find and resolve a system font from disk, it has to have system access that isn't available in the web browser. As a result, this package is mainly useful in environments that combine browser and Node.js runtimes (such as [Electron]).\n\n### Fallback Ligatures\n\nWhen ligatures cannot be fetched from the environment, a set of \"fallback\" ligatures is used to get the most common ligatures working. These fallback ligatures can be customized with options passed to `LigatureAddon.constructor`.\n\n### Fonts\n\nThis package makes use of the following fonts for testing:\n\n* [Fira Code][Fira Code] - [Licensed under the OFL][Fira Code License] by Nikita Prokopov, Mozilla Foundation with reserved names Fira Code, Fira Mono, and Fira Sans\n* [Iosevka] - [Licensed under the OFL][Iosevka License] by Belleve Invis with reserved name Iosevka\n\n[xterm.js]: https://github.com/xtermjs/xterm.js\n[Electron]: https://electronjs.org/\n[Node.js]: https://nodejs.org/\n[font-ligatures]: https://github.com/princjef/font-ligatures\n[Fira Code]: https://github.com/tonsky/FiraCode\n[Fira Code License]: https://github.com/tonsky/FiraCode/blob/master/LICENSE\n[Iosevka]: https://github.com/be5invis/Iosevka\n[Iosevka License]: https://github.com/be5invis/Iosevka/blob/master/LICENSE.md\n\n","readmeFilename":"README.md"}