frame5

Frame5 is an attempt creating an HTML5 framework. Under the umbrella standard HTML5 a lot of technological are at play. Frame5's goal is to bring together as many of the specs as it can.

Frame5 - HTML5 Framework

Frame5 is an attempt creating an HTML5 framework. Under the umbrella standard HTML5 a lot of technological are at play. Frame5's goal is to bring together as many of the specs as it can.

Wish List

Links

Main

How to use

Install with NPM

npm install frame5
var express = require('express');
var http = require('http');
 
var Frame5 = require('frame5')
 
var app = express.createServer()
 
 
app.use(express.favicon())
app.use(express.logger('dev'))
app.use(express.cookieParser())
 
app.use(express.session({
    secret : 'my secret here'
}))
 
 
app.use(Frame5(app))
 
 
app.get('/test', function(reqres) {
    res.sendfile('./test.html')
})
 
app.listen(3000);
 
 
 
<!DOCTYPE html>
<html>
 
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>Frame5</title>
        
        <!--
        //
        //
        //
        -->
        
        <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> 
        
        <!--
        //
        //
        //
        -->
        
        <script src="/frame5"></script> 
 
        <!--
        //
        //
        //
        -->
    </head>
 
    <body>
    <script>
        console.log(Frame5);
    </script> 
    </body>
</html>