Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

how to call a export constants in nodejs

module.exports = Object.freeze({
    MY_CONSTANT: 'some value',
    ANOTHER_CONSTANT: 'another value'
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #call #export #constants #nodejs
ADD COMMENT
Topic
Name
9+9 =