# JSSTE
./blub.emd


[](https://www.npmjs.com/package/jsste)
[](https://www.npmjs.com/package/jsste)
## Desciption
JSSTE is a NodeJS-Module for rendering data in static HTML
## Usage
### Installation
You can jsste install using [npm](https://www.npmjs.com/package/jsste) or [yarn](https://yarnpkg.com/package/jsste).
```sh
npm install jsste
```
```sh
yarn add jsste
```
#### including in your project
```javascript
const jsste = require("jsste");
```
### Rendering
```javascript
jsste.render(pagecode, tempaltecode);
```
#### Example
```javascript
const templatecode = `
JSSTE Example
<[VARNAME1]>
<[VARNAME2]>
`;
const pagecode = { VARNAME1: "Hello World", VARNAME2: "This is a test" };
let result = Jsste.render(pagecode, templatecode);
// result
//
//
// JSSTE Example
//
//
//
Hello World
//
This is a test
//
//
```
### Special Variables
- `_TEMPLATE_` -> Defines the path to the temp file
- `_STYLES_` -> Defines a list of CSS files that will be implemented
#### Example
```javascript
const templatecode = `
JSSTE Example
<[VARNAME1]>
<[VARNAME2]>
`;
const pagecode = {"_STYLES_":["./main","./othercss"] "VARNAME1":"Hello World", "VARNAME2":"This is a test"};
let result = Jsste.render(pagecode, templatecode);
// result
//
//
// JSSTE Example
//
//
//
//
//