Created
February 12, 2021 16:02
-
-
Save MylesBorins/6c6ac8e07b3aacc5b198d601f9d9b599 to your computer and use it in GitHub Desktop.
example wrapper
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 namespace = require('./wrapper'); | |
console.log(namespace); |
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
{ | |
"hello": "world" | |
} |
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
{ | |
"name": "wrapper", | |
"version": "1.0.0", | |
"main": "index.js", | |
"scripts": { | |
"start": "node index.js" | |
}, | |
"author": "Myles Borins <[email protected]>", | |
"license": "Apache-2.0" | |
} |
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 namespace = require('./namespace.json'); | |
Object.assign(namespace, { | |
"goodnight": "moon" | |
}); | |
module.exports = namespace; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment