Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0c2b543d34 | |||
| a0702190f7 | |||
| dedd7135f5 | |||
| f84280d330 |
4
.snyk
4
.snyk
@@ -1,4 +0,0 @@
|
|||||||
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
|
|
||||||
version: v1.13.3
|
|
||||||
ignore: {}
|
|
||||||
patch: {}
|
|
||||||
40
README.md
40
README.md
@@ -1,40 +0,0 @@
|
|||||||
# @pushrocks/smartmustache
|
|
||||||
templates done right
|
|
||||||
|
|
||||||
## Availabililty and Links
|
|
||||||
* [npmjs.org (npm package)](https://www.npmjs.com/package/@pushrocks/smartmustache)
|
|
||||||
* [gitlab.com (source)](https://gitlab.com/pushrocks/smartmustache)
|
|
||||||
* [github.com (source mirror)](https://github.com/pushrocks/smartmustache)
|
|
||||||
* [docs (typedoc)](https://pushrocks.gitlab.io/smartmustache/)
|
|
||||||
|
|
||||||
## Status for master
|
|
||||||
[](https://gitlab.com/pushrocks/smartmustache/commits/master)
|
|
||||||
[](https://gitlab.com/pushrocks/smartmustache/commits/master)
|
|
||||||
[](https://www.npmjs.com/package/@pushrocks/smartmustache)
|
|
||||||
[](https://snyk.io/test/npm/@pushrocks/smartmustache)
|
|
||||||
[](https://nodejs.org/dist/latest-v10.x/docs/api/)
|
|
||||||
[](https://nodejs.org/dist/latest-v10.x/docs/api/)
|
|
||||||
[](https://prettier.io/)
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
Use TypeScript for best in class instellisense.
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
import { SmartMustache } from '@pushrocks/smartmustache';
|
|
||||||
|
|
||||||
const mySmartmustache = new SmartMustache('my {{somePlaceholder}} are {{anotherPlaceholder}}!');
|
|
||||||
const appliedString = myTlt.applyData({
|
|
||||||
somePlaceholder: 'horses',
|
|
||||||
anotherPlaceholder: 'awesome'
|
|
||||||
});
|
|
||||||
|
|
||||||
// appliedString will be 'my horses are awesome!'
|
|
||||||
```
|
|
||||||
|
|
||||||
For further information read the linked docs at the top of this readme.
|
|
||||||
|
|
||||||
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
|
||||||
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy)
|
|
||||||
|
|
||||||
[](https://maintainedby.lossless.com)
|
|
||||||
1271
package-lock.json
generated
1271
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartmustache",
|
"name": "@pushrocks/smartmustache",
|
||||||
"version": "2.0.10",
|
"version": "2.0.11",
|
||||||
"description": "templates done right",
|
"description": "templates done right",
|
||||||
"private": false,
|
"private": false,
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
"typings": "dist_ts/index.d.ts",
|
"typings": "dist_ts/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "(tstest test/)",
|
"test": "(tstest test/ --web)",
|
||||||
"build": "(tsbuild)"
|
"build": "(tsbuild --web)"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.1.25",
|
"@gitzone/tsbuild": "^2.1.25",
|
||||||
"@gitzone/tsrun": "^1.2.12",
|
"@gitzone/tsrun": "^1.2.12",
|
||||||
"@gitzone/tstest": "^1.0.52",
|
"@gitzone/tstest": "^1.0.54",
|
||||||
"@pushrocks/tapbundle": "^3.2.14"
|
"@pushrocks/tapbundle": "^3.2.14"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
|
|||||||
52
readme.md
Normal file
52
readme.md
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
# @pushrocks/smartmustache
|
||||||
|
templates done right
|
||||||
|
|
||||||
|
## Availabililty and Links
|
||||||
|
* [npmjs.org (npm package)](https://www.npmjs.com/package/@pushrocks/smartmustache)
|
||||||
|
* [gitlab.com (source)](https://gitlab.com/pushrocks/smartmustache)
|
||||||
|
* [github.com (source mirror)](https://github.com/pushrocks/smartmustache)
|
||||||
|
* [docs (typedoc)](https://pushrocks.gitlab.io/smartmustache/)
|
||||||
|
|
||||||
|
## Status for master
|
||||||
|
|
||||||
|
Status Category | Status Badge
|
||||||
|
-- | --
|
||||||
|
GitLab Pipelines | [](https://lossless.cloud)
|
||||||
|
GitLab Pipline Test Coverage | [](https://lossless.cloud)
|
||||||
|
npm | [](https://lossless.cloud)
|
||||||
|
Snyk | [](https://lossless.cloud)
|
||||||
|
TypeScript Support | [](https://lossless.cloud)
|
||||||
|
node Support | [](https://nodejs.org/dist/latest-v10.x/docs/api/)
|
||||||
|
Code Style | [](https://lossless.cloud)
|
||||||
|
PackagePhobia (total standalone install weight) | [](https://lossless.cloud)
|
||||||
|
PackagePhobia (package size on registry) | [](https://lossless.cloud)
|
||||||
|
BundlePhobia (total size when bundled) | [](https://lossless.cloud)
|
||||||
|
Platform support | [](https://lossless.cloud) [](https://lossless.cloud)
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Use TypeScript for best in class instellisense.
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
import { SmartMustache } from '@pushrocks/smartmustache';
|
||||||
|
|
||||||
|
const mySmartmustache = new SmartMustache('my {{somePlaceholder}} are {{anotherPlaceholder}}!');
|
||||||
|
const appliedString = myTlt.applyData({
|
||||||
|
somePlaceholder: 'horses',
|
||||||
|
anotherPlaceholder: 'awesome',
|
||||||
|
});
|
||||||
|
|
||||||
|
// appliedString will be 'my horses are awesome!'
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Contribution
|
||||||
|
|
||||||
|
We are always happy for code contributions. If you are not the code contributing type that is ok. Still, maintaining Open Source repositories takes considerable time and thought. If you like the quality of what we do and our modules are useful to you we would appreciate a little monthly contribution: You can [contribute one time](https://lossless.link/contribute-onetime) or [contribute monthly](https://lossless.link/contribute). :)
|
||||||
|
|
||||||
|
For further information read the linked docs at the top of this readme.
|
||||||
|
|
||||||
|
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
||||||
|
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy)
|
||||||
|
|
||||||
|
[](https://maintainedby.lossless.com)
|
||||||
Reference in New Issue
Block a user