Order now: Total.js Premium Account

Get Started

The easiest way to get started with Total.js framework is to download our prepared empty projects on the page below. Join our membership for free and use our HelpDesk to solve your problems.


Great routing

Total.js framework supports classic routes, dynamic routes as well as regex routes. You can write your own routes for dynamic content, files or WebSocket. Creating REST services or web applications is easy and the code is clean.


Routes are declared in controllers and each route defines a handler for desired action. Routes also support flags.With the flags, you can define special behaviour e.g. HTTP method, CORS, middlewares, etc..

Powerful View Engine

Built-in view engine supports a lot of features with great performance. All views are compiled into functions.

Features

Layouts
Nested views
Loops
Sections
Inline helpers

HTML + JS + CSS minification

You don't need Gulp, Grunt, WebPack or whatever else there is. Total.js has built-in mechanism for dynamic compression of JavaScript, CSS and HTML.

Features

JavaScript compression
Inline JavaScript compression in View Engine
CSS compression
Inline CSS compression in View Engine
CSS variables + nested selectors like SASS
CSS auto-vendor-prefixes
HTML compression

Terminal app

If Total.js is installed as global NPM module then you can use Total.js terminal application.

Features

Create empty-project
Create translation / localization (+merging, diff, etc.)
Supports local web server
Can minify JavaScript, CSS and HTML file

Without dependencies

Total.js framework is a dependency-free framework with many built-in features, such as view engine, cookies, flat file database engine, ...., and many more. This means you only need one documentation. With other frameworks you are required to configure each dependency(module) which leads to a need to read multiple documentations. Total.js framework = one documentation, many built-in features.




What's next?

Learn from the source-code

The best way to start with Total.js is to learn from the example's source-code.

Try to understand

The framework offers a lot of features. Try to understand how they work.

Do not give up on the framework

First two months are really hard but then you will love Total.js framework.

Look at the examples

Total.js offers more than 100 examples, each showing a part of the framework's functionality.

Write to community

Having some issues? Can't get Your head around some problem? There's Total.js community on Gitter.

Be happy

The framework is free for everyone. We would love to hear your thoughts.


You can install Total.js from Node Package Manager like this:

$ npm install total.js|