Created
February 12, 2021 16:02
example wrapper
This file contains 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 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 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 <mylesborins@github.com>", | |
"license": "Apache-2.0" | |
} |
This file contains 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