new Path()
Class that provides methods and property for generate paths.
Methods
devDir(opts)
Generate a random path to development directory.
Parameters:
Name |
Type |
Description |
opts |
object
|
Options
Properties
Name |
Type |
Attributes |
Default |
Description |
gender |
string
|
<optional>
|
female
|
Gender of user |
|
home()
Generate a home path.
projectDir(opts)
Generate a random path to project directory.
Parameters:
Name |
Type |
Description |
opts |
object
|
Options
Properties
Name |
Type |
Attributes |
Default |
Description |
gender |
string
|
<optional>
|
female
|
Gender of user |
|
root()
Generate a root dir path.
user(opts)
Generate a random user.
Parameters:
Name |
Type |
Description |
opts |
object
|
Options
Properties
Name |
Type |
Attributes |
Default |
Description |
gender |
string
|
<optional>
|
female
|
Gender of user. |
|
usersFolder(opts)
Generate a random path to user's folders.
Parameters:
Name |
Type |
Description |
opts |
object
|
Options
Properties
Name |
Type |
Attributes |
Default |
Description |
gender |
string
|
<optional>
|
female
|
Gender of user |
|