{"id":20875919,"url":"https://github.com/saqqdy/xterm-style","last_synced_at":"2025-05-12T15:31:56.765Z","repository":{"id":57402369,"uuid":"293531762","full_name":"saqqdy/xterm-style","owner":"saqqdy","description":"xterm styles list","archived":false,"fork":false,"pushed_at":"2021-09-15T05:35:47.000Z","size":5,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-09T22:09:16.859Z","etag":null,"topics":["xterm","xterm-style","xterm-theme"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saqqdy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-07T13:11:24.000Z","updated_at":"2023-03-27T09:09:05.000Z","dependencies_parsed_at":"2022-09-04T15:25:08.894Z","dependency_job_id":null,"html_url":"https://github.com/saqqdy/xterm-style","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saqqdy%2Fxterm-style","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saqqdy%2Fxterm-style/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saqqdy%2Fxterm-style/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saqqdy%2Fxterm-style/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saqqdy","download_url":"https://codeload.github.com/saqqdy/xterm-style/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225141052,"owners_count":17427208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["xterm","xterm-style","xterm-theme"],"created_at":"2024-11-18T06:49:07.386Z","updated_at":"2024-11-18T06:49:08.006Z","avatar_url":"https://github.com/saqqdy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xterm-style\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n[![License][license-image]][license-url]\n\n[npm-image]: https://img.shields.io/npm/v/xterm-style.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/xterm-style\n[travis-image]: https://travis-ci.org/saqqdy/xterm-style.svg?branch=master\n[travis-url]: https://travis-ci.org/saqqdy/xterm-style\n[codecov-image]: https://img.shields.io/codecov/c/github/saqqdy/xterm-style.svg?style=flat-square\n[codecov-url]: https://codecov.io/github/saqqdy/xterm-style?branch=master\n[david-image]: https://img.shields.io/david/saqqdy/xterm-style.svg?style=flat-square\n[david-url]: https://david-dm.org/saqqdy/xterm-style\n[snyk-image]: https://snyk.io/test/npm/xterm-style/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/xterm-style\n[download-image]: https://img.shields.io/npm/dm/xterm-style.svg?style=flat-square\n[download-url]: https://npmjs.org/package/xterm-style\n[license-image]: https://img.shields.io/badge/License-MIT-yellow.svg\n[license-url]: LICENSE\n\n## 安装依赖\n\n```shell\n# 通过npm安装\nnpm install -S xterm-style\n# 或者通过yarn安装\nyarn add xterm-style\n```\n\n## 使用\n\n### 配置说明\n\nxterm-style 目前包含了下面这几套配置\n\n-   `common`: 常规风格\n\n### 引入方法\n\n```js\nimport { Terminal } from 'xterm'\nimport { common as xtermTheme } from 'xterm-style'\nconst term = new Terminal({\n    theme: xtermTheme\n    // ...\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaqqdy%2Fxterm-style","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaqqdy%2Fxterm-style","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaqqdy%2Fxterm-style/lists"}