knuckjs
v0.1.0
Published
Simple JavaScript Framework to build lightning fast CSRs using any template engine
Downloads
1
Maintainers
Readme
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/[email protected]/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
- Twitter: @elcharitas
- Github: @elcharitas
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.