2.0.2 • Published 2 years ago

swell-template v2.0.2

Weekly downloads
21
License
MIT
Repository
gitlab
Last release
2 years ago

Swell Template Engine

Implementation is based on the LiquidJs template engine.

Usage:

import TemplateEngine from 'swell-template';

// A Swell client
const client = {
  get: (url, data) => { ... },
  details: {
    currencies: ...,
    currency: ...,
    locale: ...
  }
};

const engine = new TemplateEngine(client);
const rendered = engine.render(template, data);
1.6.1

3 years ago

2.0.2

2 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.5.0

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.2.0

4 years ago

1.1.7

6 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago