@mikeyt23/node-cli-utils
GitHub: mikey-t/node-cli-utils
Preparing search index...
index
Module index
Modules
<internal>
Enumerations
Emoji
Classes
ExtendedError
SimpleSpawnError
SpawnError
Interfaces
CopyDirectoryOptions
CopyEnvOptions
EmptyDirectoryOptions
FindFilesOptions
SimpleSpawnOptions
SimpleSpawnResult
SpawnOptionsWithThrow
SpawnResult
WhichResult
WithRetryOptions
Type Aliases
AsyncBooleanFunc
AsyncFunc
Func
FuncOrAsyncFunc
PlatformCode
StringKeyedDictionary
Variables
createTarball
powershellHackPrefix
unpackTarball
unpackTarballContents
Functions
askQuestion
classToJson
collapseWhitespace
conditionallyAsync
copyDirectoryContents
copyModifiedEnv
copyNewEnvValues
deleteEnvIfExists
emptyDirectory
ensureDirectory
escapeStringForRegex
filterDictionary
findAllIndexes
findFilesRecursively
getConfirmation
getConfirmationExample
getHostname
getNormalizedError
getPlatformCode
getPowershellHackArgs
getRandomIntInclusive
getRequiredCliParam
getRequiredEnvVar
getTimestampUnformatted
hasOnlyDigits
hasWhitespace
humanizeTime
isChildPath
isDirectory
isDirectorySync
isErrnoException
isErrorEnoent
isPlatformLinux
isPlatformMac
isPlatformWindows
isPortAvailable
isValidDirName
log
logIf
logTable
mkdirp
mkdirpSync
overwriteEnvFile
requireString
requireValidPath
simpleCmdAsync
simpleCmdSync
simpleSpawnAsync
simpleSpawnSync
sleep
sortDictionaryByKeyAsc
spawnAsync
spawnAsyncLongRunning
splitByWhitespace
stringToLines
stringToNonEmptyLines
stripShellMetaCharacters
toWslPath
trace
which
whichSync
whichWsl
withRetryAsync
wslPathExists
References
changeHostsFile
→
changeHostsFile
config
→
config
ensureHostsEntry
→
ensureHostsEntry
getEolNormalizedWithoutLine
→
getEolNormalizedWithoutLine
getHostsFileString
→
getHostsFileString
getHostsPath
→
getHostsPath
hostsFileHasEntry
→
hostsFileHasEntry
hostsFileStringHasEntry
→
hostsFileStringHasEntry
isIpV4Address
→
isIpV4Address
removeHostsEntry
→
removeHostsEntry
Settings
Theme
OS
Light
Dark
On This Page
Modules
<internal>
Enumerations
Emoji
Classes
Extended
Error
Simple
Spawn
Error
Spawn
Error
Interfaces
Copy
Directory
Options
Copy
Env
Options
Empty
Directory
Options
Find
Files
Options
Simple
Spawn
Options
Simple
Spawn
Result
Spawn
Options
With
Throw
Spawn
Result
Which
Result
With
Retry
Options
Type Aliases
Async
Boolean
Func
Async
Func
Func
Func
Or
Async
Func
Platform
Code
String
Keyed
Dictionary
Variables
create
Tarball
powershell
Hack
Prefix
unpack
Tarball
unpack
Tarball
Contents
Functions
ask
Question
class
To
Json
collapse
Whitespace
conditionally
Async
copy
Directory
Contents
copy
Modified
Env
copy
New
Env
Values
delete
Env
If
Exists
empty
Directory
ensure
Directory
escape
String
For
Regex
filter
Dictionary
find
All
Indexes
find
Files
Recursively
get
Confirmation
get
Confirmation
Example
get
Hostname
get
Normalized
Error
get
Platform
Code
get
Powershell
Hack
Args
get
Random
Int
Inclusive
get
Required
Cli
Param
get
Required
Env
Var
get
Timestamp
Unformatted
has
Only
Digits
has
Whitespace
humanize
Time
is
Child
Path
is
Directory
is
Directory
Sync
is
Errno
Exception
is
Error
Enoent
is
Platform
Linux
is
Platform
Mac
is
Platform
Windows
is
Port
Available
is
Valid
Dir
Name
log
log
If
log
Table
mkdirp
mkdirp
Sync
overwrite
Env
File
require
String
require
Valid
Path
simple
Cmd
Async
simple
Cmd
Sync
simple
Spawn
Async
simple
Spawn
Sync
sleep
sort
Dictionary
By
Key
Asc
spawn
Async
spawn
Async
Long
Running
split
By
Whitespace
string
To
Lines
string
To
Non
Empty
Lines
strip
Shell
Meta
Characters
to
Wsl
Path
trace
which
which
Sync
which
Wsl
with
Retry
Async
wsl
Path
Exists
References
change
Hosts
File
config
ensure
Hosts
Entry
get
Eol
Normalized
Without
Line
get
Hosts
File
String
get
Hosts
Path
hosts
File
Has
Entry
hosts
File
String
Has
Entry
is
Ip
V4
Address
remove
Hosts
Entry
GitHub: mikey-t/node-cli-utils
@mikeyt23/node-cli-utils
Loading...