JSPM

isite

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 26738
  • Score
    100M100P100Q142781F
  • License ISC

Fast & Easy Full Web Site Management

Package Exports

  • isite

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (isite) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

#Start Your Site Fast *Features - Auto Routes [simple & Advanced] - Handle Response Headers - Auto Configer Request Cookies & Query Strings - Detect User Session - Auto Caching Files - MD5 Hash Function

Installation

`npm install isite`

##Using

var isite = require('isite')
var site = isite({port:8080})

site.run()

##Routes

Easy Site Routing

site.addRoute({name: '/js/jquery.js',path:  './js/jquery.min.js'});
site.addRoute({name: '/js/bootstrap.js',path:  './js/bootstrap.min.js'});
site.addRoute({name: '/css/bootstrap.css',path:  './css/bootstrap.min.css'});
site.addRoute({name: '/',path:  './index.html'});

##More

Send Me Absunstar@gmail.com