@lowfatcats/dustjs-helpers

1.3.2 • Public • Published

LFC DustJS Helpers

This package provides a collection of DustJS helpers.

This package is intended to be used with Node as well as Browser.

Custom helpers

@resolveurl

If context is

{url: "/some/file.html"}

then

{@resolveurl base="http://web.site/index.html" target=url/}

outputs

http://web.site/some/file.html

@year

{@year/}

outputs

2020

Package Sidebar

Install

npm i @lowfatcats/dustjs-helpers

Weekly Downloads

1

Version

1.3.2

License

MIT

Unpacked Size

3.85 kB

Total Files

5

Last publish

Collaborators

  • gabnic