knuckjs
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

👋 KnuckJS

Version Documentation Maintenance License: MIT Twitter: elcharitas

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.

Package Sidebar

Install

npm i knuckjs

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

145 kB

Total Files

22

Last publish

Collaborators

  • elcharitas