Easily create and maintain modular APIs for Node.js, based on express
Config is created under the package.json
file. Simply add apinator
with it's options:
"name": "Project name",
"apinator": {
"overwrite": true
}
overwrite
: Boolean. Overwrites files (in case they exist) when generating new ones.
When creating new templates, use this as your code base
exports.generate = function () {
return `
// Your code in here
`.trim()
}