node-better
Require better for NodeJs
Usage
In PROJECT_ROOT/shared/libs/emoji
:
module { /*...*/ }
Old way for use:
var emoji =
../../../
is depend on where of your code. Or it will be../
, or it will be../../
.
New way for use:
var emoji = 'shared/libs/emoji'
Just pass file path as in your project root dir.
Install
npm install better --save
API
better.path(filePath)
Will return full path of filePath
.