Skip to content

Commit 2e0aaa6

Browse files
committed
🎉 Create project
Initializes npm package and provides an initial README.
1 parent 7a6661c commit 2e0aaa6

File tree

4 files changed

+64
-0
lines changed

4 files changed

+64
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
.idea/

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# query-terminal
2+
3+
> Query for terminfo capabilities using XTGETTCAP
4+
5+
## Context
6+
7+
The [supports-hyperlink] issue about [Kitty support][kitty-support] led me to
8+
[Kitty’s _Query terminal_ docs][kitty-docs] and [XTerm Control
9+
Sequences][xterm-control-sequences]. I figured I would publish my script as a
10+
module, lest I forget everything I learned about XTGETTCAP in Node.
11+
12+
[supports-hyperlink]: https://github.com/jamestalmage/supports-hyperlinks#readme
13+
[kitty-support]: https://github.com/jamestalmage/supports-hyperlinks/issues/10
14+
[kitty-docs]: https://sw.kovidgoyal.net/kitty/kittens/query_terminal/
15+
[xterm-control-sequences]: https://invisible-island.net/xterm/ctlseqs/ctlseqs.html
16+
17+
## License
18+
19+
MIT © [Connor Sullivan](https://github.com/connorjs)

package-lock.json

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "query-terminal",
3+
"version": "0.0.1",
4+
"description": "NodeJS module to query terminal for terminfo capabilities using XTGETTCAP",
5+
"keywords": [
6+
"DCS",
7+
"query",
8+
"terminal",
9+
"XTGETTCAP"
10+
],
11+
"homepage": "https://github.com/connorjs/query-terminal#readme",
12+
"bugs": {
13+
"url": "https://github.com/connorjs/query-terminal/issues"
14+
},
15+
"license": "MIT",
16+
"author": {
17+
"name": "Connor Sullivan",
18+
"email": "[email protected]",
19+
"url": "https://github.com/connorjs"
20+
},
21+
"main": "query-terminal.js",
22+
"type": "module",
23+
"repository": {
24+
"type": "git",
25+
"url": "git+https://github.com/connorjs/query-terminal.git"
26+
},
27+
"scripts": {
28+
"test": "echo \"Error: no test specified\" && exit 1"
29+
}
30+
}

0 commit comments

Comments
 (0)