This is a question about working with node.js.
Is there a way to retrieve the attributes of a class model in JSON or string format?
For example: module.exports:{ attributes: {
user_num: {type: "integer", primaryKey: true},
contact_id: {type: "integer"},
username: {type: "string", size: 15},
pass: {type: "string", size: 20},
... } I need to provide the file path as a parameter and receive a string containing the attributes.
Thank you for your help!