You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
258 B
14 lines
258 B
1 month ago
|
/**
|
||
|
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;
|