App Properties

This commit is contained in:
Zoheb Alli Khan 2021-06-03 12:04:27 +05:30
parent 9731e6841b
commit 859556dc1f
1 changed files with 8 additions and 1 deletions

View File

@ -11,7 +11,7 @@ const app = express(); // Intializing the imported express application
* http://expressjs.com/en/api.html#express.json
* ******************************************************************************************* */
Methods;
```Methods```;
express.json([options]);
@ -97,3 +97,10 @@ type // This is used to determine the type of middleware will
verify // It is an undefined function which used to verify the middleware parsing.
`;
```Application`````;
Properties```app.local`;
`app.locals.title = "My Cheatsheet";
console.dir(app.locals.title)`;
app.mountpath`;``app.mountpath``const admin = express()`;