kieryjs

1.1.1 • Public • Published

LOGO

Minimalist, fast, simple web framework based on ExpressJS for node.

  • npm version
  • npm download
  • install size
const kieryjs = require('./index');

// create the server
kieryjs.createServer({
    index: 'index.ejs', 
    engine: 'ejs',// render the file in "views/index.ejs"
    includeVariableOnPage: true,
    varPage: { HelloWorld: "Hello, World!" }, // Add a variable called "HelloWorld" with the value "Hello, World!"
    port: 8080, // at port 3000 (http://localhost:3000)
    staticFolder: 'public' // set static folder (css, js, img) to "public"
});

// create your first page
kieryjs.createPage({
    renderFile: 'second.ejs',
    path: 'second',
    includeVariableOnPage: true,
    varPage: { hello: "helloworld" }
})

Installation

KieryJS is available on nodejs, before installing, download and install Node.js. For add KieryJS on your project, doing this command:

$ npm install kieryjs

Package Sidebar

Install

npm i kieryjs

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

7.03 kB

Total Files

5

Last publish

Collaborators

  • mids