Created
April 24, 2020 20:48
-
-
Save kenanhancer/a011b3f95a881cc90cacb12056366f6f to your computer and use it in GitHub Desktop.
nut-ioc example module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports.ServiceName = ""; //fileName if empty,null or undefined | |
module.exports.Namespace = ""; //if empty, then consume helper dependency with name directly | |
module.exports.Service = ({ | |
getFullName: ({ firstName, lastName }) => { | |
return `${firstName} ${lastName}`; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment