Skip to content

Commit 8b9a9ab

Browse files
committed
Public release of the Jt 1.0:
* Initial public release. Meet beardless customizable template engine, Mr. Jt for Node.js and Web browsers.
1 parent ad96736 commit 8b9a9ab

File tree

4 files changed

+30
-17
lines changed

4 files changed

+30
-17
lines changed

Readme.md

+18-14
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11

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

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

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

9-
**Download:**
10-
* Stable: [/releases](https://github.com/3F/Jt/releases) [ [latest](https://github.com/3F/Jt/releases/latest) ]
11-
* 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.
11+
[![Build history](https://buildstats.info/appveyor/chart/3Fs/jt?buildCount=20&includeBuildsFromPullRequest=true&showStats=true)](https://ci.appveyor.com/project/3Fs/jt/history)
1212

1313
```javascript
14-
jt.use('', 'Hello %p% world')
14+
jt.use('', ' $Hello %p% {{world}} ')
1515
.as({ p: 'amazing'})
16-
.reset().as({ p: 'crazy'});
16+
.reset().as({ p: 'crazy'})
17+
// ... +$Hello, +{{world}}
1718
```
1819

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

45-
Same things for custom handlers.
46+
*Same things for custom handlers.*
4647

4748
### Configurable 🔧
4849

@@ -80,7 +81,7 @@ Or for something more ...
8081

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

83-
Do you need something special? No problem, just implement [IJtHandler](src/Handlers/IJtHandler.ts) to cover your awesome things. It easy.
84+
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.
8485

8586
### Comfy but strong 🌇
8687

@@ -102,27 +103,27 @@ jt.use('hello')
102103
.eject((v) => t.is(v, 'Hello you from Moscow, dear $name.'))
103104
...
104105
.as({ name: '{( r > 100 )}friend{/}visitor{;}' })
105-
.sa(jtif, { r: actual })
106+
.sa(jtif, { r: actual }) // // Hello you from Moscow, dear friend.
106107
...
107108
.val();
108109
🐧
109110
```
110111

111112
### Stability 🗠
112113

113-
Clean [API](src/Core/) and its [tests](tests/) will take care of your peace of mind.
114+
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.
114115

115116
### Compatibility 🗸
116117

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

119120
### No dependencies to something 👐
120121

121-
Developed from scratch without dependencies to something.
122+
Developed from scratch without dependencies to something from our end-product.
122123

123124
### Open and Free 🍰
124125

125-
MIT License, Enjoy!
126+
Open Source project; MIT License, Yes! Enjoy!
126127

127128
## License
128129

@@ -140,9 +141,12 @@ Copyright (c) 2019 Denis Kuzmin < [email protected] > GitHub/3F
140141
* Configuration: [IJtConfig](https://github.com/3F/Jt/blob/master/src/Core/IJtConfig.ts)
141142
* Handlers: [IJtHandler](https://github.com/3F/Jt/blob/master/src/Handlers/IJtHandler.ts)
142143

143-
## Versions
144+
## Download
145+
146+
* NPM: [![npm](https://img.shields.io/npm/v/mrjt.svg)](https://www.npmjs.com/package/mrjt)
147+
* Stable: [/releases](https://github.com/3F/Jt/releases) [ [latest](https://github.com/3F/Jt/releases/latest) ]
148+
* 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.
144149

145-
TODO:
146150

147151
## Build & Tests
148152

changelog.txt

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
- -
2+
Jt :: https://github.com/3F/Jt
3+
_ _
4+
5+
6+
[v1.0] 2019.05.14
7+
8+
* Initial public release.
9+
Meet beardless customizable template engine, Mr. Jt for Node.js and Web browsers.

header

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
/* Jt $version$ https://github.com/3F/Jt
2-
"Beardless сustomizable template engine, Mr. Jt"
2+
"Beardless customizable template engine, Mr. Jt"
33
Copyright (c) 2019 Denis Kuzmin < [email protected] > GitHub/3F
44
The MIT License*/

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "jt",
2+
"name": "mrjt",
33
"version": "1.0.0",
4-
"description": "Beardless сustomizable template engine, Mr. Jt for Node.js and Web browsers.",
4+
"description": "Beardless customizable template engine, Mr. Jt for Node.js and Web browsers.",
55
"main": "index.js",
66
"scripts": {
77
"test": "ava"

0 commit comments

Comments
 (0)