npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@acoustic-content-sdk/redux-feature-handlebars

v9.0.10076

Published

> TODO: description

Downloads

210

Readme

npm

API Documentation

Home > @acoustic-content-sdk/redux-feature-handlebars

redux-feature-handlebars package

Functions

| Function | Description | | --- | --- | | isValidHandlebarsTemplateState(aState) | Checks if a template state is valid |

Interfaces

| Interface | Description | | --- | --- | | HandlebarsAddTemplatePayload | | | HandlebarsFeatureState | | | HandlebarsSetErrorPayload | | | HandlebarsSetTemplatePayload | | | HandlebarsTemplateState | |

Variables

| Variable | Description | | --- | --- | | ACTION_HANDLEBARS_ADD_TEMPLATE | | | ACTION_HANDLEBARS_GUARANTEE_TEMPLATE | | | ACTION_HANDLEBARS_LOAD_TEMPLATE | | | ACTION_HANDLEBARS_SET_ERROR | | | ACTION_HANDLEBARS_SET_TEMPLATE | Do not add a side effect to this action | | HANDLEBARS_FEATURE | | | handlebarsAddTemplateAction | | | handlebarsFeature | Exposes the feature module selector | | handlebarsFeatureReducer | | | handlebarsGuaranteeTemplateAction | | | handlebarsLoadTemplateAction | | | handlebarsSetErrorAction | | | handlebarsSetTemplateAction | | | selectHandlebarsFeature | Select the handlebars feature | | selectTemplate | Selects the pre-compiled handlebars template based on the key or returns undefined. | | VERSION | Version and build number of the package |

Type Aliases

| Type Alias | Description | | --- | --- | | HandlebarsActions | | | HandlebarsActionsPayload | | | HandlebarsAddTemplateAction | | | HandlebarsCompiler | | | HandlebarsGuaranteeTemplateAction | | | HandlebarsKey | | | HandlebarsLoadTemplateAction | | | HandlebarsProcessor | | | HandlebarsSetErrorAction | | | HandlebarsSetTemplateAction | | | HandlebarsState | |

Home > @acoustic-content-sdk/redux-feature-handlebars > isValidHandlebarsTemplateState

isValidHandlebarsTemplateState() function

Checks if a template state is valid

Signature:

export declare function isValidHandlebarsTemplateState(aState: HandlebarsTemplateState): boolean;

Parameters

| Parameter | Type | Description | | --- | --- | --- | | aState | HandlebarsTemplateState | the template state |

Returns:

boolean

true if the state is valid, else false

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsAddTemplatePayload

HandlebarsAddTemplatePayload interface

Signature:

export interface HandlebarsAddTemplatePayload 

Properties

| Property | Type | Description | | --- | --- | --- | | key | HandlebarsKey | | | stringTemplate | string | |

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsFeatureState

HandlebarsFeatureState interface

Signature:

export interface HandlebarsFeatureState 

Properties

| Property | Type | Description | | --- | --- | --- | | handlebars | HandlebarsState | |

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsSetErrorPayload

HandlebarsSetErrorPayload interface

Signature:

export interface HandlebarsSetErrorPayload 

Properties

| Property | Type | Description | | --- | --- | --- | | error | Error | | | key | HandlebarsKey | |

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsSetTemplatePayload

HandlebarsSetTemplatePayload interface

Signature:

export interface HandlebarsSetTemplatePayload 

Properties

| Property | Type | Description | | --- | --- | --- | | compiledTemplate | HandlebarsProcessor | | | key | HandlebarsKey | | | stringTemplate | string | |

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsTemplateState

HandlebarsTemplateState interface

Signature:

export interface HandlebarsTemplateState 

Properties

| Property | Type | Description | | --- | --- | --- | | compiledTemplate | HandlebarsProcessor | | | error | Error | | | stringTemplate | string | |

Home > @acoustic-content-sdk/redux-feature-handlebars > ACTION_HANDLEBARS_ADD_TEMPLATE

ACTION_HANDLEBARS_ADD_TEMPLATE variable

Signature:

ACTION_HANDLEBARS_ADD_TEMPLATE = "ACTION_HANDLEBARS_ADD_TEMPLATE"

Home > @acoustic-content-sdk/redux-feature-handlebars > ACTION_HANDLEBARS_GUARANTEE_TEMPLATE

ACTION_HANDLEBARS_GUARANTEE_TEMPLATE variable

Signature:

ACTION_HANDLEBARS_GUARANTEE_TEMPLATE = "ACTION_HANDLEBARS_GUARANTEE_TEMPLATE"

Home > @acoustic-content-sdk/redux-feature-handlebars > ACTION_HANDLEBARS_LOAD_TEMPLATE

ACTION_HANDLEBARS_LOAD_TEMPLATE variable

Signature:

ACTION_HANDLEBARS_LOAD_TEMPLATE = "ACTION_HANDLEBARS_LOAD_TEMPLATE"

Home > @acoustic-content-sdk/redux-feature-handlebars > ACTION_HANDLEBARS_SET_ERROR

ACTION_HANDLEBARS_SET_ERROR variable

Signature:

ACTION_HANDLEBARS_SET_ERROR = "ACTION_HANDLEBARS_SET_ERROR"

Home > @acoustic-content-sdk/redux-feature-handlebars > ACTION_HANDLEBARS_SET_TEMPLATE

ACTION_HANDLEBARS_SET_TEMPLATE variable

Do not add a side effect to this action

Signature:

ACTION_HANDLEBARS_SET_TEMPLATE = "ACTION_HANDLEBARS_SET_TEMPLATE"

Home > @acoustic-content-sdk/redux-feature-handlebars > HANDLEBARS_FEATURE

HANDLEBARS_FEATURE variable

Signature:

HANDLEBARS_FEATURE = "handlebars"

Home > @acoustic-content-sdk/redux-feature-handlebars > handlebarsAddTemplateAction

handlebarsAddTemplateAction variable

Signature:

handlebarsAddTemplateAction: UnaryFunction<HandlebarsAddTemplatePayload, HandlebarsAddTemplateAction>

Home > @acoustic-content-sdk/redux-feature-handlebars > handlebarsFeature

handlebarsFeature variable

Exposes the feature module selector

Signature:

handlebarsFeature: import("@acoustic-content-sdk/redux-store").ReduxFeatureModule<Record<string, import("./handlebars.state").HandlebarsTemplateState>, HandlebarsFeatureState, import("redux").AnyAction, import("redux").AnyAction, any>

Home > @acoustic-content-sdk/redux-feature-handlebars > handlebarsFeatureReducer

handlebarsFeatureReducer variable

Signature:

handlebarsFeatureReducer: {
    handlebars: import("redux").Reducer<Record<string, import("./handlebars.state").HandlebarsTemplateState>, import("./handlebars.actions").HandlebarsSetErrorAction | import("./handlebars.actions").HandlebarsSetTemplateAction>;
}

Home > @acoustic-content-sdk/redux-feature-handlebars > handlebarsGuaranteeTemplateAction

handlebarsGuaranteeTemplateAction variable

Signature:

handlebarsGuaranteeTemplateAction: UnaryFunction<HandlebarsKey, HandlebarsGuaranteeTemplateAction>

Home > @acoustic-content-sdk/redux-feature-handlebars > handlebarsLoadTemplateAction

handlebarsLoadTemplateAction variable

Signature:

handlebarsLoadTemplateAction: UnaryFunction<HandlebarsKey, HandlebarsLoadTemplateAction>

Home > @acoustic-content-sdk/redux-feature-handlebars > handlebarsSetErrorAction

handlebarsSetErrorAction variable

Signature:

handlebarsSetErrorAction: UnaryFunction<HandlebarsSetErrorPayload, HandlebarsSetErrorAction>

Home > @acoustic-content-sdk/redux-feature-handlebars > handlebarsSetTemplateAction

handlebarsSetTemplateAction variable

Signature:

handlebarsSetTemplateAction: UnaryFunction<HandlebarsSetTemplatePayload, HandlebarsSetTemplateAction>

Home > @acoustic-content-sdk/redux-feature-handlebars > selectHandlebarsFeature

selectHandlebarsFeature variable

Select the handlebars feature

Signature:

selectHandlebarsFeature: import("rxjs").UnaryFunction<Record<string, any>, Record<string, import("./handlebars.state").HandlebarsTemplateState>>

Home > @acoustic-content-sdk/redux-feature-handlebars > selectTemplate

selectTemplate variable

Selects the pre-compiled handlebars template based on the key or returns undefined.

Signature:

selectTemplate: (aKey: string) => (aState: Record<string, HandlebarsTemplateState>) => HandlebarsProcessor

Home > @acoustic-content-sdk/redux-feature-handlebars > VERSION

VERSION variable

Version and build number of the package

Signature:

VERSION: {
    version: {
        major: string;
        minor: string;
        patch: string;
        branch: string;
    };
    build: Date;
}

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsActions

HandlebarsActions type

Signature:

export declare type HandlebarsActions = HandlebarsSetTemplateAction | HandlebarsSetErrorAction;

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsActionsPayload

HandlebarsActionsPayload type

Signature:

export declare type HandlebarsActionsPayload = HandlebarsSetTemplatePayload | HandlebarsSetErrorPayload;

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsCompiler

HandlebarsCompiler type

Signature:

export declare type HandlebarsCompiler = (input: string) => HandlebarsProcessor;

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsKey

HandlebarsKey type

Signature:

export declare type HandlebarsKey = string;

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsProcessor

HandlebarsProcessor type

Signature:

export declare type HandlebarsProcessor = (aContext: any) => string;

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsState

HandlebarsState type

Signature:

export declare type HandlebarsState = Record<HandlebarsKey, HandlebarsTemplateState>;

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsAddTemplatePayload > key

HandlebarsAddTemplatePayload.key property

Signature:

key: HandlebarsKey;

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsAddTemplatePayload > stringTemplate

HandlebarsAddTemplatePayload.stringTemplate property

Signature:

stringTemplate: string;

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsTemplateState > compiledTemplate

HandlebarsTemplateState.compiledTemplate property

Signature:

compiledTemplate?: HandlebarsProcessor;

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsTemplateState > error

HandlebarsTemplateState.error property

Signature:

error?: Error;

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsTemplateState > stringTemplate

HandlebarsTemplateState.stringTemplate property

Signature:

stringTemplate?: string;

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsFeatureState > handlebars

HandlebarsFeatureState.handlebars property

Signature:

[HANDLEBARS_FEATURE]: HandlebarsState;

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsSetErrorPayload > error

HandlebarsSetErrorPayload.error property

Signature:

error: Error;

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsSetErrorPayload > key

HandlebarsSetErrorPayload.key property

Signature:

key: HandlebarsKey;

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsSetTemplatePayload > compiledTemplate

HandlebarsSetTemplatePayload.compiledTemplate property

Signature:

compiledTemplate: HandlebarsProcessor;

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsSetTemplatePayload > key

HandlebarsSetTemplatePayload.key property

Signature:

key: HandlebarsKey;

Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsSetTemplatePayload > stringTemplate

HandlebarsSetTemplatePayload.stringTemplate property

Signature:

stringTemplate: string;