UNPKG

better-npm-init

Version:

A better version of npm init, with templates and more. Usage: better-npm-init <template> [--yarn] [--install] [--git] [--yes] [--help]

16 lines (12 loc) 254 B
/** Check if the process is running inside a Docker container. @example ``` import isDocker = require('is-docker'); if (isDocker()) { console.log('Running inside a Docker container'); } ``` */ declare function isDocker(): boolean; export = isDocker;