Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 986 Bytes

File metadata and controls

56 lines (35 loc) · 986 Bytes

Installation

Terminal supports both Deno (via JSR) and Node.js (via npm).

Prerequisites

  • Deno: 2.0 or later
  • Node.js: 20.0 or later

Deno (JSR)

deno add jsr:@neabyte/terminal

Then import in your code:

import Terminal from '@neabyte/terminal'

Node.js (npm)

npm install @neabyte/terminal

Then import in your code:

import Terminal from '@neabyte/terminal'

Verify Installation

import Terminal from '@neabyte/terminal'

console.log(Terminal.getConfig())
// Should output default configuration

Troubleshooting

Deno: Cannot find module

Ensure your deno.json has the proper imports or use bare specifier after deno add.

Node.js: ESM imports

This package is ESM-only. Use import syntax, not require.

Next Steps