mirror of
https://github.com/sern-handler/website
synced 2026-06-22 07:42:25 +00:00
14 lines
258 B
TypeScript
14 lines
258 B
TypeScript
/**
|
|
Check if the process is running inside a container.
|
|
|
|
@example
|
|
```
|
|
import isInsideContainer from 'is-inside-container';
|
|
|
|
if (isInsideContainer()) {
|
|
console.log('Running inside a container');
|
|
}
|
|
```
|
|
*/
|
|
export default function isInsideContainer(): boolean;
|