| Crates.io | otterjs |
| lib.rs | otterjs |
| version | 0.1.2 |
| created_at | 2026-01-15 15:11:38.059468+00 |
| updated_at | 2026-01-16 06:43:58.749635+00 |
| description | Otter CLI - A fast TypeScript/JavaScript runtime |
| homepage | https://github.com/octofhir/otter |
| repository | https://github.com/octofhir/otter |
| max_upload_size | |
| id | 2045792 |
| size | 183,832 |
A fast TypeScript/JavaScript runtime CLI.
cargo install otterjs
# Run a script directly
otter script.ts
otter script.js
# Or with the run command
otter run script.ts
otter run script.ts --watch
otter run script.ts --timeout 5000
| Command | Description |
|---|---|
run <file> |
Execute a TypeScript or JavaScript file |
check <file> |
Type check TypeScript files |
test |
Run tests |
repl |
Start interactive REPL |
install |
Install dependencies from package.json |
add <package> |
Add a dependency |
remove <package> |
Remove a dependency |
init |
Initialize a new project |
info |
Show runtime information |
# Run with watch mode
otter run src/index.ts --watch
# Type check
otter check src/**/*.ts
# Run tests
otter test
# Start REPL
otter repl
# Package management
otter init
otter add lodash
otter install
otter remove lodash
MIT