how to store javascript classes in a file code example Example: javascript class in external file class User { //... } module.exports = User