0.4.0-beta • Published 3 years ago

@bouncingpixel/dust-helpers v0.4.0-beta

Weekly downloads
7
License
MIT
Repository
github
Last release
3 years ago

dust-helpers

Various dust helpers grouped by purpose

Working With

Requirements

  • NodeJS 6 LTS
  • DustJS from Linkedin 2.7.5+

Using dust-helpers

Require in the desired helper(s) and initialize them with the dust instance.

const dust = require('dustjs-linkedin');

const dateHelpers = require('@bouncingpixel/dust-helpers/date-helpers');
const stringHelpers = require('@bouncingpixel/dust-helpers/string-helpers');

dateHelpers(dust);
stringHelpers(dust);