Skip to content

Commit

Permalink
Public release of the Jt 1.0:
Browse files Browse the repository at this point in the history
* Initial public release.
  Meet beardless customizable template engine, Mr. Jt for Node.js and Web browsers.
  • Loading branch information
3F committed May 13, 2019
1 parent ad96736 commit 8b9a9ab
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 17 deletions.
32 changes: 18 additions & 14 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@

# Mr. [Jt 🎩](https://github.com/3F/Jt)

Meet beardless сustomizable template engine, Mr. Jt for Node.js and Web browsers.
Meet beardless customizable template engine, Mr. Jt for Node.js and Web browsers.

[![Build status](https://ci.appveyor.com/api/projects/status/s5of5w4qh2k7qels/branch/master?svg=true)](https://ci.appveyor.com/project/3Fs/jt/branch/master)
[![release-src](https://img.shields.io/github/release/3F/Jt.svg)](https://github.com/3F/Jt/releases/latest)
[![npm](https://img.shields.io/npm/v/mrjt.svg)](https://www.npmjs.com/package/mrjt)
[![License](https://img.shields.io/badge/License-MIT-74A5C2.svg)](https://github.com/3F/Jt/blob/master/License.txt)

**Download:**
* Stable: [/releases](https://github.com/3F/Jt/releases) [ [latest](https://github.com/3F/Jt/releases/latest) ]
* CI builds: [`/artifacts` page](https://ci.appveyor.com/project/3Fs/jt/history) or find as `Pre-release` with mark `🎲 Nightly build` on [GitHub Releases](https://github.com/3F/Jt/releases) page.
[![Build history](https://buildstats.info/appveyor/chart/3Fs/jt?buildCount=20&includeBuildsFromPullRequest=true&showStats=true)](https://ci.appveyor.com/project/3Fs/jt/history)

```javascript
jt.use('', 'Hello %p% world')
jt.use('', ' $Hello %p% {{world}} ')
.as({ p: 'amazing'})
.reset().as({ p: 'crazy'});
.reset().as({ p: 'crazy'})
// ... +$Hello, +{{world}}
```

```javascript
Expand Down Expand Up @@ -42,7 +43,7 @@ Extra small size. Just about o-n-e kilobyte of fully workable core engine:
* ~ **1.02 KB** for Core of ES6 gzipped;
* ~ 1.09 KB for Core of **ES3** gzipped;

Same things for custom handlers.
*Same things for custom handlers.*

### Configurable 🔧

Expand Down Expand Up @@ -80,7 +81,7 @@ Or for something more ...

Sure! Add or change any features for the layers, still *on the fly*.

Do you need something special? No problem, just implement [IJtHandler](src/Handlers/IJtHandler.ts) to cover your awesome things. It easy.
Do you need something special? No problem, just implement [IJtHandler](https://github.com/3F/Jt/blob/master/src/Handlers/IJtHandler.ts) to cover your awesome things. It easy.

### Comfy but strong 🌇

Expand All @@ -102,27 +103,27 @@ jt.use('hello')
.eject((v) => t.is(v, 'Hello you from Moscow, dear $name.'))
...
.as({ name: '{( r > 100 )}friend{/}visitor{;}' })
.sa(jtif, { r: actual })
.sa(jtif, { r: actual }) // // Hello you from Moscow, dear friend.
...
.val();
🐧
```

### Stability 🗠

Clean [API](src/Core/) and its [tests](tests/) will take care of your peace of mind.
Clean [API](https://github.com/3F/Jt/tree/master/src/Core) and its [tests](https://github.com/3F/Jt/tree/master/tests) will take care of your peace of mind.

### Compatibility 🗸

Nothing special, we just provide separate ES3+/ES6+ support in Node.js and Web browsers environment. Choose more suitable package for your case.

### No dependencies to something 👐

Developed from scratch without dependencies to something.
Developed from scratch without dependencies to something from our end-product.

### Open and Free 🍰

MIT License, Enjoy!
Open Source project; MIT License, Yes! Enjoy!

## License

Expand All @@ -140,9 +141,12 @@ Copyright (c) 2019 Denis Kuzmin < entry.reg@gmail.com > GitHub/3F
* Configuration: [IJtConfig](https://github.com/3F/Jt/blob/master/src/Core/IJtConfig.ts)
* Handlers: [IJtHandler](https://github.com/3F/Jt/blob/master/src/Handlers/IJtHandler.ts)

## Versions
## Download

* NPM: [![npm](https://img.shields.io/npm/v/mrjt.svg)](https://www.npmjs.com/package/mrjt)
* Stable: [/releases](https://github.com/3F/Jt/releases) [ [latest](https://github.com/3F/Jt/releases/latest) ]
* CI builds: [`/artifacts` page](https://ci.appveyor.com/project/3Fs/jt/history) or find as `Pre-release` with mark `🎲 Nightly build` on [GitHub Releases](https://github.com/3F/Jt/releases) page.

TODO:

## Build & Tests

Expand Down
9 changes: 9 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- -
Jt :: https://github.com/3F/Jt
_ _


[v1.0] 2019.05.14

* Initial public release.
Meet beardless customizable template engine, Mr. Jt for Node.js and Web browsers.
2 changes: 1 addition & 1 deletion header
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Jt $version$ https://github.com/3F/Jt
"Beardless сustomizable template engine, Mr. Jt"
"Beardless customizable template engine, Mr. Jt"
Copyright (c) 2019 Denis Kuzmin < entry.reg@gmail.com > GitHub/3F
The MIT License*/
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jt",
"name": "mrjt",
"version": "1.0.0",
"description": "Beardless сustomizable template engine, Mr. Jt for Node.js and Web browsers.",
"description": "Beardless customizable template engine, Mr. Jt for Node.js and Web browsers.",
"main": "index.js",
"scripts": {
"test": "ava"
Expand Down

0 comments on commit 8b9a9ab

Please sign in to comment.