Created
June 18, 2021 11:43
-
-
Save stephanbogner/9ea24846a0c16127c6e427a567d92c0f to your computer and use it in GitHub Desktop.
Simple module.exports example for NodeJS (to make a simple library)
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
const someFunction = () => { | |
return false; | |
} | |
const someOtherFunction = () => { | |
return false; | |
} | |
module.exports = { | |
someFunction, | |
someOtherFunction | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment