UNPKG
@chess-labs/terminal
Version:
latest (1.0.5)
1.0.5
1.0.4
1.0.3
A command-line chess game powered by Stockfish
github.com/chess-labs/terminal
chess-labs/terminal
@chess-labs/terminal
/
dist
/
index.js
15 lines
•
340 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env node
import
{
ChessCLI
}
from
'./cli.js'
;
async
function
main
(
) {
const
cli =
new
ChessCLI
();
try
{
await
cli.
start
(); }
catch
(error) {
console
.
error
(
'Fatal error:'
, error); process.
exit
(
1
); } }
// Run the application
main
().
catch
(
console
.
error
);
//# sourceMappingURL=index.js.map