open-index/open-npm huggingface dataset:
npm package: @lowfatcats/active-dust
Description: This library combines DustJS template rendering with dynamic data provided by a DynamoDB-backed data store.
Author: Gabriel Nicolae
Latest version: 2.2.0

# LFC Active DustJS Library

This library combines DustJS template rendering with dynamic
data provided by a DynamoDB-backed data store.

## Environment variables

The following environment variables are used in this library
and can be provided for custom functionality.

```
TIMEZONE="US/Central"
STORE_REGION="us-east-1"
STORE_PREFIX="Dev_"
```
npm package: @lowfatcats/datastore-dynamodb
Description: Content data store backed by DynamoDB
Author: Gabriel Nicolae
Latest version: 0.5.0

# LFC Data Store using DynamoDB

Custom content data store backed by DynamoDB.

## Environment variables

The following environment variables can be used to configure the
data store.

```
STORE_REGION="us-east-1"
STORE_PREFIX="Dev_"
```
npm package: @lowfatcats/dnkc-dustjs-helpers
Description: Collection of DustJS helpers for DNKC
Author: Gabriel Nicolae
Latest version: 1.0.0

# DNKC DustJS Helpers

This package provides a collection of DustJS helpers for DNKC.

This package is intended to be used with Node only.

## Custom helpers

### `@pet`

Retrieves the pet details given an id from db and adds it to the context
under `pet` property.

Usage:
```
{@pet id="12345"}
    Name: {pet.animalName}
    Breed: {pet.animalBreed}
{/pet}
```

### `@article`

Retrieves an article with an id from db and adds it to the context
under `article` property.

Usage:
```
{@article id="12345"}
    Title: {artitle.title}
{/article}
```

### `@gallery`

Creates a DustJS context for a gallery as:

```js
{
   "items": [],
   "size": "(width)x(height)",
   "title": "Some title",
   "prefix": "http://url.com/path/"
}
```

Any properties specified in the helper will be converted to the javascript
context object.

### `@img`

Add a new image to the current gallery context items as:

```js
{
  "image": "images/layout/sample.jpg",
  "image__thumb": "images/layout/sample__thumb.jpg",
  "size": "2000x1333"
}
```

## Sample usage for `@gallery` and `@img` helpers:

```
{@gallery prefix="http://url.com/path/images/"}
  {@img src="sam.jpg" caption="Samuel"/}
  {@img src="jasper.jpg" thumb="jasper_th.jpg" size="2000x1333" /}
  {>your-render set=gallery.items for="photos"/}
{/gallery}
```

In the snippet above `{>your-render /}` DustJS partial is being instantiated using the context:

```js
{
    for: "photos",
    set: [
        {
            image: "http://url.com/path/images/sam.jpg",
            caption: "Samuel"
        },
        {s
            image: "http://url.com/path/images/jasper.jpg",
            image__thumb: "http://url.com/path/images/jasper_th.jpg",
            size: "2000x1333"
        }
    ]
}
```
npm package: @lowfatcats/dustjs-helpers
Description: Collection of DustJS helpers.
Author: Gabriel Nicolae
Latest version: 1.3.2

# LFC DustJS Helpers

This package provides a collection of DustJS helpers.

- dustjs-helpers: https://github.com/linkedin/dustjs-helpers
- common-dustjs-helpers: https://github.com/rodw/common-dustjs-helpers
- custom helpers (see below)

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
```