@push.rocks/smartmustache
v3.0.2
Published
templates done right
Downloads
60
Readme
@pushrocks/smartmustache
templates done right
Availabililty and Links
Status for master
Status Category | Status Badge -- | -- GitLab Pipelines | GitLab Pipline Test Coverage | npm | Snyk | TypeScript Support | node Support | Code Style | PackagePhobia (total standalone install weight) | PackagePhobia (package size on registry) | BundlePhobia (total size when bundled) | Platform support |
Usage
Use TypeScript for best in class instellisense.
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 or contribute monthly. :)
For further information read the linked docs at the top of this readme.
MIT licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy