Skip to content

Whether the process is running inside SSH.

License

Notifications You must be signed in to change notification settings

justjavac/deno_is_ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deno_is_ssh

tag Build Status license

Whether the process is running inside SSH.

Requires the --allow-env flag.

Usage

import { isSSH, isSSHSync } from "https://deno.land/x/is_ssh/mod.ts";

await isSSH();
isSSHSync();

License

deno_is_ssh is released under the MIT License. See the bundled LICENSE file for details.