Skip to content

Instantly share code, notes, and snippets.

@stephanbogner
Created June 18, 2021 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephanbogner/9ea24846a0c16127c6e427a567d92c0f to your computer and use it in GitHub Desktop.
Save stephanbogner/9ea24846a0c16127c6e427a567d92c0f to your computer and use it in GitHub Desktop.
Simple module.exports example for NodeJS (to make a simple library)
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