Home / Function/ GithubView() — express Function Reference

GithubView() — express Function Reference

Architecture documentation for the GithubView() function in github-view.js from the express codebase.

Entity Profile

Dependency Diagram

graph TD
  981d1105_a195_f1b0_c0c2_a71961810d7e["GithubView()"]
  a1fbba28_0f2d_6fc3_7626_9dcaa7d06edb["github-view.js"]
  981d1105_a195_f1b0_c0c2_a71961810d7e -->|defined in| a1fbba28_0f2d_6fc3_7626_9dcaa7d06edb
  style 981d1105_a195_f1b0_c0c2_a71961810d7e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

examples/view-constructor/github-view.js lines 23–30

function GithubView(name, options){
  this.name = name;
  options = options || {};
  this.engine = options.engines[extname(name)];
  // "root" is the app.set('views') setting, however
  // in your own implementation you could ignore this
  this.path = '/' + options.root + '/master/' + name;
}

Domain

Subdomains

Frequently Asked Questions

What does GithubView() do?
GithubView() is a function in the express codebase, defined in examples/view-constructor/github-view.js.
Where is GithubView() defined?
GithubView() is defined in examples/view-constructor/github-view.js at line 23.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free