# kilam

> Kilam is a framework built around simplity

Latest version **0.1.2** (published 2023-01-31) · ISC license · 0 weekly downloads

## Install

```sh
npm install kilam
pnpm add kilam
yarn add kilam
bun add kilam
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2023-01-31 |
| First published | 2023-01-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 24.9 KB |
| Known vulnerabilities | 0 (+3 in 1 direct dependencies) |
| Install scripts | no |
| Author | Malik harrison |
| Maintainers | godkutta |
| Keywords | kilam, framework |

## Links

- npm: https://www.npmjs.com/package/kilam
- Repository: https://github.com/KanvasGod/kilam_js
- Homepage: https://github.com/KanvasGod/kilam_js#readme
- Issues: https://github.com/KanvasGod/kilam_js/issues
- npm.io page: https://npm.io/package/kilam

## Dependencies (4)

- [sharp](https://npm.io/package/sharp.md) ^0.31.3
- [fs-extra](https://npm.io/package/fs-extra.md) ^11.1.0
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.20.12
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.20.2

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@atlaskit/theme](https://npm.io/package/@atlaskit/theme.md) — 402.0K weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads

## Recent versions

- 0.1.2 (latest) — 2023-01-31
- 0.1.1 — 2023-01-20
- 0.1.0 — 2023-01-17

## README

# kilam.js
Kilam js is in alpha, with the focus on html templates. Frameworks like React and Vue give this ability. With the caviot of having to learn new syntax and work arounds. The goal of this framework is to give all the abilitys of these javascript tools with little or no new syntax. With this framework what you learned starting as a web devloper is enough let the framework do the rest.

## How to get started 
>`npm i kilam`

## Require package on main.js
>`const { KILAM } = require('kilam');`

## Import your favorite server package
Mine is express so the rest of the tutorial will be with express.

```
const express = require('express');
const PORT = process.env.PORT || 3000;
const { KILAM } = require('kilam');
const app = express();

// kilam object requires your root directory
const km = new KILAM(__dirname);

// km will return your routes.js path
// src is the name of your public directory
let hostMap = km.build('src');

// deploy app
const host = require(hostMap);
app.use('/', host);

app.listen(PORT, () => {
    console.log(`Host Blaster on: ${PORT}`);
})
```

## Create your folder structure
That question is easy, once you set up the server.
Just run the code, project will build its self if evrything done as above.

## How to template your html 
Head to your scr folder go to views click on kilam_index.html this is your root.
write your html there. To add a new page, just create a new html file in the same directory.

## Importing js and css files
On your html file just use

>`<:Import src="./defaults to your css or js folder" :>`

> Kilam will render your files togeather into one. Based on the order your imports are in.
Saving the browser from making a bunch of requests.

---
Kilam already has some templates that preload on new projects, use those as a guide as well. To work the server look for info on your preferrd packege. Tips for devs this package was built with nodemon package in mind to rebuild projects on file changes.

---
_Source: https://npm.io/package/kilam · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
