0.1.0 • Published 3 years ago

knuckjs v0.1.0

Weekly downloads
10
License
MIT
Repository
github
Last release
3 years ago

KnuckJS is a Simple and lightweight JavaScript Framework to build lightning fast CSRs using any template engine Learn more

Install

Installing knuckjs is effortless as you can choose to install it as a dependency using npm or yarn

npm i knuckjs
---- or ----
yarn add knuckjs

or directly include using a CDN like jsDelivr

<script src="https://cdn.jsdelivr.net/npm/knuckjs@0.1.0/dist/knuck.min.js"></script>

Sample Usage

Here is a sample Hello Knuck app. Full documentation is available here.

// Hello Knuck in Typescript
import Knuck from "knuckjs";

let app: Knuck = new Knuck(function create(Route){
    // tell knuck where to look
    this.realpath = location.pathname;

    // listen for a path
    Route.get('/', function(){
        return "Hello Knuck";
    });

    // let's knuck this app out
    this.run();
});

Author

Jonathan Irhodia

Contributing

Contributions, issues and feature requests are welcome!Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

License

Copyright © 2020 Jonathan Irhodia. This project is MIT licensed.

0.1.0

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago