bower
- Version 1.8.14
- Published
- 20 MB
- No dependencies
- MIT license
Install
npm i bower
yarn add bower
pnpm add bower
Overview
The browser package manager
Index
Variables
Interfaces
Namespaces
handlebars
- blockParams()
- compile()
- create()
- createFrame()
- decorators
- escapeExpression
- Exception
- HelperDeclareSpec
- HelperDelegate
- HelperOptions
- helpers
- ICompiler
- K()
- log()
- logger
- noConflict()
- parse()
- ParseOptions
- parseWithoutProcessing()
- partials
- precompile()
- registerDecorator()
- registerHelper()
- registerPartial()
- ResolvePartialOptions
- RuntimeOptions
- SafeString
- template()
- Template
- TemplateDelegate
- templates
- unregisterDecorator()
- unregisterHelper()
- unregisterPartial()
- Visitor
handlebars/runtime
- blockParams()
- compile()
- create()
- createFrame()
- decorators
- escapeExpression
- Exception
- HelperDeclareSpec
- HelperDelegate
- HelperOptions
- helpers
- ICompiler
- K()
- log()
- logger
- noConflict()
- parse()
- ParseOptions
- parseWithoutProcessing()
- partials
- precompile()
- registerDecorator()
- registerHelper()
- registerPartial()
- ResolvePartialOptions
- RuntimeOptions
- SafeString
- template()
- Template
- TemplateDelegate
- templates
- unregisterDecorator()
- unregisterHelper()
- unregisterPartial()
- Visitor
Variables
variable factory
const factory: Factory;
Interfaces
interface ValidationError
interface ValidationError {}
Namespaces
namespace handlebars
module 'handlebars' {}
variable decorators
const decorators: { [name: string]: Function };
variable escapeExpression
const escapeExpression: (str: string) => string;
variable helpers
const helpers: { [name: string]: HelperDelegate };
variable logger
const logger: Logger;
variable partials
const partials: { [name: string]: any };
variable templates
const templates: HandlebarsTemplates;
function blockParams
blockParams: (obj: any[], ids: any[]) => any[];
function compile
compile: <T = any>( input: any, options?: CompileOptions) => HandlebarsTemplateDelegate<T>;
function create
create: () => typeof Handlebars;
function createFrame
createFrame: (object: any) => any;
function K
K: () => void;
function log
log: (level: number, obj: any) => void;
function noConflict
noConflict: () => typeof Handlebars;
function parse
parse: (input: string, options?: ParseOptions) => hbs.AST.Program;
function parseWithoutProcessing
parseWithoutProcessing: ( input: string, options?: ParseOptions) => hbs.AST.Program;
function precompile
precompile: (input: any, options?: PrecompileOptions) => TemplateSpecification;
function registerDecorator
registerDecorator: (name: string, fn: Function) => void;
function registerHelper
registerHelper: { (name: string, fn: HelperDelegate): void; (name: HelperDeclareSpec): void;};
function registerPartial
registerPartial: { (name: string, fn: Template): void; (spec: { [name: string]: HandlebarsTemplateDelegate<any> }): void;};
function template
template: <T = any>( precompilation: TemplateSpecification) => HandlebarsTemplateDelegate<T>;
function unregisterDecorator
unregisterDecorator: (name: string) => void;
function unregisterHelper
unregisterHelper: (name: string) => void;
function unregisterPartial
unregisterPartial: (name: string) => void;
class Exception
class Exception {}
constructor
constructor(message: string, node?: hbs.AST.Node);
property column
column?: any;
property description
description: string;
property endColumn
endColumn?: any;
property endLineNumber
endLineNumber?: any;
property fileName
fileName: string;
property lineNumber
lineNumber?: any;
property message
message: string;
property name
name: string;
property number
number: number;
property stack
stack?: string;
class SafeString
class SafeString {}
constructor
constructor(str: string);
method toHTML
toHTML: () => string;
method toString
toString: () => string;
class Visitor
class Visitor implements ICompiler {}
method accept
accept: (node: hbs.AST.Node) => void;
method acceptArray
acceptArray: (arr: hbs.AST.Expression[]) => void;
method acceptKey
acceptKey: (node: hbs.AST.Node, name: string) => void;
method BlockStatement
BlockStatement: (block: hbs.AST.BlockStatement) => void;
method BooleanLiteral
BooleanLiteral: (bool: hbs.AST.BooleanLiteral) => void;
method CommentStatement
CommentStatement: (comment?: hbs.AST.CommentStatement) => void;
method ContentStatement
ContentStatement: (content: hbs.AST.ContentStatement) => void;
method Decorator
Decorator: (decorator: hbs.AST.Decorator) => void;
method DecoratorBlock
DecoratorBlock: (decorator: hbs.AST.DecoratorBlock) => void;
method Hash
Hash: (hash: hbs.AST.Hash) => void;
method MustacheStatement
MustacheStatement: (mustache: hbs.AST.MustacheStatement) => void;
method NullLiteral
NullLiteral: () => void;
method NumberLiteral
NumberLiteral: (num: hbs.AST.NumberLiteral) => void;
method PartialBlockStatement
PartialBlockStatement: (partial: hbs.AST.PartialBlockStatement) => void;
method PartialStatement
PartialStatement: (partial: hbs.AST.PartialStatement) => void;
method PathExpression
PathExpression: (path: hbs.AST.PathExpression) => void;
method Program
Program: (program: hbs.AST.Program) => void;
method StringLiteral
StringLiteral: (str: hbs.AST.StringLiteral) => void;
method SubExpression
SubExpression: (sexpr: hbs.AST.SubExpression) => void;
method UndefinedLiteral
UndefinedLiteral: () => void;
interface HelperDeclareSpec
interface HelperDeclareSpec {}
index signature
[key: string]: HelperDelegate;
interface HelperDelegate
interface HelperDelegate {}
call signature
( context?: any, arg1?: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, options?: HelperOptions): any;
interface HelperOptions
interface HelperOptions {}
interface ICompiler
interface ICompiler {}
method accept
accept: (node: hbs.AST.Node) => void;
method BlockStatement
BlockStatement: (block: hbs.AST.BlockStatement) => void;
method BooleanLiteral
BooleanLiteral: (bool: hbs.AST.BooleanLiteral) => void;
method CommentStatement
CommentStatement: (comment?: hbs.AST.CommentStatement) => void;
method ContentStatement
ContentStatement: (content: hbs.AST.ContentStatement) => void;
method Decorator
Decorator: (decorator: hbs.AST.Decorator) => void;
method DecoratorBlock
DecoratorBlock: (decorator: hbs.AST.DecoratorBlock) => void;
method Hash
Hash: (hash: hbs.AST.Hash) => void;
method MustacheStatement
MustacheStatement: (mustache: hbs.AST.MustacheStatement) => void;
method NullLiteral
NullLiteral: () => void;
method NumberLiteral
NumberLiteral: (num: hbs.AST.NumberLiteral) => void;
method PartialBlockStatement
PartialBlockStatement: (partial: hbs.AST.PartialBlockStatement) => void;
method PartialStatement
PartialStatement: (partial: hbs.AST.PartialStatement) => void;
method PathExpression
PathExpression: (path: hbs.AST.PathExpression) => void;
method Program
Program: (program: hbs.AST.Program) => void;
method StringLiteral
StringLiteral: (str: hbs.AST.StringLiteral) => void;
method SubExpression
SubExpression: (sexpr: hbs.AST.SubExpression) => void;
method UndefinedLiteral
UndefinedLiteral: () => void;
interface ParseOptions
interface ParseOptions {}
property ignoreStandalone
ignoreStandalone?: boolean;
property srcName
srcName?: string;
interface ResolvePartialOptions
interface ResolvePartialOptions {}
property data
data?: any;
property decorators
decorators?: { [name: string]: Function };
property helpers
helpers?: { [name: string]: Function };
property name
name: string;
property partials
partials?: { [name: string]: HandlebarsTemplateDelegate };
interface RuntimeOptions
interface RuntimeOptions {}
property allowCallsToHelperMissing
allowCallsToHelperMissing?: boolean;
property blockParams
blockParams?: any[];
property data
data?: any;
property decorators
decorators?: { [name: string]: Function };
property depths
depths?: any[];
property helpers
helpers?: { [name: string]: Function };
property partial
partial?: boolean;
property partials
partials?: { [name: string]: HandlebarsTemplateDelegate };
interface TemplateDelegate
interface TemplateDelegate<T = any> {}
call signature
(context: T, options?: RuntimeOptions): string;
type Template
type Template<T = any> = TemplateDelegate<T> | string;
namespace handlebars.AST
namespace handlebars.AST {}
variable helpers
const helpers: hbs.AST.helpers;
namespace handlebars.Utils
namespace handlebars.Utils {}
function blockParams
blockParams: (obj: any[], ids: any[]) => any[];
function createFrame
createFrame: (object: any) => any;
function escapeExpression
escapeExpression: (str: string) => string;
function extend
extend: (obj: any, ...source: any[]) => any;
function isArray
isArray: (obj: any) => boolean;
function isEmpty
isEmpty: (obj: any) => boolean;
function isFunction
isFunction: (obj: any) => boolean;
function toString
toString: (obj: any) => string;
namespace handlebars.VM
namespace handlebars.VM {}
function resolvePartial
resolvePartial: <T = any>( partial: HandlebarsTemplateDelegate<T> | undefined, context: any, options: ResolvePartialOptions) => HandlebarsTemplateDelegate<T>;
Deprecated
namespace handlebars/runtime
module 'handlebars/runtime' {}
variable decorators
const decorators: { [name: string]: Function };
variable escapeExpression
const escapeExpression: (str: string) => string;
variable helpers
const helpers: { [name: string]: HelperDelegate };
variable logger
const logger: Logger;
variable partials
const partials: { [name: string]: any };
variable templates
const templates: HandlebarsTemplates;
function blockParams
blockParams: (obj: any[], ids: any[]) => any[];
function compile
compile: <T = any>( input: any, options?: CompileOptions) => HandlebarsTemplateDelegate<T>;
function create
create: () => typeof Handlebars;
function createFrame
createFrame: (object: any) => any;
function K
K: () => void;
function log
log: (level: number, obj: any) => void;
function noConflict
noConflict: () => typeof Handlebars;
function parse
parse: (input: string, options?: ParseOptions) => hbs.AST.Program;
function parseWithoutProcessing
parseWithoutProcessing: ( input: string, options?: ParseOptions) => hbs.AST.Program;
function precompile
precompile: (input: any, options?: PrecompileOptions) => TemplateSpecification;
function registerDecorator
registerDecorator: (name: string, fn: Function) => void;
function registerHelper
registerHelper: { (name: string, fn: HelperDelegate): void; (name: HelperDeclareSpec): void;};
function registerPartial
registerPartial: { (name: string, fn: Template): void; (spec: { [name: string]: HandlebarsTemplateDelegate<any> }): void;};
function template
template: <T = any>( precompilation: TemplateSpecification) => HandlebarsTemplateDelegate<T>;
function unregisterDecorator
unregisterDecorator: (name: string) => void;
function unregisterHelper
unregisterHelper: (name: string) => void;
function unregisterPartial
unregisterPartial: (name: string) => void;
class Exception
class Exception {}
constructor
constructor(message: string, node?: hbs.AST.Node);
property column
column?: any;
property description
description: string;
property endColumn
endColumn?: any;
property endLineNumber
endLineNumber?: any;
property fileName
fileName: string;
property lineNumber
lineNumber?: any;
property message
message: string;
property name
name: string;
property number
number: number;
property stack
stack?: string;
class SafeString
class SafeString {}
constructor
constructor(str: string);
method toHTML
toHTML: () => string;
method toString
toString: () => string;
class Visitor
class Visitor implements ICompiler {}
method accept
accept: (node: hbs.AST.Node) => void;
method acceptArray
acceptArray: (arr: hbs.AST.Expression[]) => void;
method acceptKey
acceptKey: (node: hbs.AST.Node, name: string) => void;
method BlockStatement
BlockStatement: (block: hbs.AST.BlockStatement) => void;
method BooleanLiteral
BooleanLiteral: (bool: hbs.AST.BooleanLiteral) => void;
method CommentStatement
CommentStatement: (comment?: hbs.AST.CommentStatement) => void;
method ContentStatement
ContentStatement: (content: hbs.AST.ContentStatement) => void;
method Decorator
Decorator: (decorator: hbs.AST.Decorator) => void;
method DecoratorBlock
DecoratorBlock: (decorator: hbs.AST.DecoratorBlock) => void;
method Hash
Hash: (hash: hbs.AST.Hash) => void;
method MustacheStatement
MustacheStatement: (mustache: hbs.AST.MustacheStatement) => void;
method NullLiteral
NullLiteral: () => void;
method NumberLiteral
NumberLiteral: (num: hbs.AST.NumberLiteral) => void;
method PartialBlockStatement
PartialBlockStatement: (partial: hbs.AST.PartialBlockStatement) => void;
method PartialStatement
PartialStatement: (partial: hbs.AST.PartialStatement) => void;
method PathExpression
PathExpression: (path: hbs.AST.PathExpression) => void;
method Program
Program: (program: hbs.AST.Program) => void;
method StringLiteral
StringLiteral: (str: hbs.AST.StringLiteral) => void;
method SubExpression
SubExpression: (sexpr: hbs.AST.SubExpression) => void;
method UndefinedLiteral
UndefinedLiteral: () => void;
interface HelperDeclareSpec
interface HelperDeclareSpec {}
index signature
[key: string]: HelperDelegate;
interface HelperDelegate
interface HelperDelegate {}
call signature
( context?: any, arg1?: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any, options?: HelperOptions): any;
interface HelperOptions
interface HelperOptions {}
interface ICompiler
interface ICompiler {}
method accept
accept: (node: hbs.AST.Node) => void;
method BlockStatement
BlockStatement: (block: hbs.AST.BlockStatement) => void;
method BooleanLiteral
BooleanLiteral: (bool: hbs.AST.BooleanLiteral) => void;
method CommentStatement
CommentStatement: (comment?: hbs.AST.CommentStatement) => void;
method ContentStatement
ContentStatement: (content: hbs.AST.ContentStatement) => void;
method Decorator
Decorator: (decorator: hbs.AST.Decorator) => void;
method DecoratorBlock
DecoratorBlock: (decorator: hbs.AST.DecoratorBlock) => void;
method Hash
Hash: (hash: hbs.AST.Hash) => void;
method MustacheStatement
MustacheStatement: (mustache: hbs.AST.MustacheStatement) => void;
method NullLiteral
NullLiteral: () => void;
method NumberLiteral
NumberLiteral: (num: hbs.AST.NumberLiteral) => void;
method PartialBlockStatement
PartialBlockStatement: (partial: hbs.AST.PartialBlockStatement) => void;
method PartialStatement
PartialStatement: (partial: hbs.AST.PartialStatement) => void;
method PathExpression
PathExpression: (path: hbs.AST.PathExpression) => void;
method Program
Program: (program: hbs.AST.Program) => void;
method StringLiteral
StringLiteral: (str: hbs.AST.StringLiteral) => void;
method SubExpression
SubExpression: (sexpr: hbs.AST.SubExpression) => void;
method UndefinedLiteral
UndefinedLiteral: () => void;
interface ParseOptions
interface ParseOptions {}
property ignoreStandalone
ignoreStandalone?: boolean;
property srcName
srcName?: string;
interface ResolvePartialOptions
interface ResolvePartialOptions {}
property data
data?: any;
property decorators
decorators?: { [name: string]: Function };
property helpers
helpers?: { [name: string]: Function };
property name
name: string;
property partials
partials?: { [name: string]: HandlebarsTemplateDelegate };
interface RuntimeOptions
interface RuntimeOptions {}
property allowCallsToHelperMissing
allowCallsToHelperMissing?: boolean;
property blockParams
blockParams?: any[];
property data
data?: any;
property decorators
decorators?: { [name: string]: Function };
property depths
depths?: any[];
property helpers
helpers?: { [name: string]: Function };
property partial
partial?: boolean;
property partials
partials?: { [name: string]: HandlebarsTemplateDelegate };
interface TemplateDelegate
interface TemplateDelegate<T = any> {}
call signature
(context: T, options?: RuntimeOptions): string;
type Template
type Template<T = any> = TemplateDelegate<T> | string;
namespace handlebars/runtime.AST
namespace handlebars/runtime.AST {}
variable helpers
const helpers: hbs.AST.helpers;
namespace handlebars/runtime.Utils
namespace handlebars/runtime.Utils {}
function blockParams
blockParams: (obj: any[], ids: any[]) => any[];
function createFrame
createFrame: (object: any) => any;
function escapeExpression
escapeExpression: (str: string) => string;
function extend
extend: (obj: any, ...source: any[]) => any;
function isArray
isArray: (obj: any) => boolean;
function isEmpty
isEmpty: (obj: any) => boolean;
function isFunction
isFunction: (obj: any) => boolean;
function toString
toString: (obj: any) => string;
namespace handlebars/runtime.VM
namespace handlebars/runtime.VM {}
function resolvePartial
resolvePartial: <T = any>( partial: HandlebarsTemplateDelegate<T> | undefined, context: any, options: ResolvePartialOptions) => HandlebarsTemplateDelegate<T>;
Deprecated
Package Files (2)
Dependencies (0)
No dependencies.
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/bower
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/bower)
- HTML<a href="https://www.jsdocs.io/package/bower"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 7432 ms. - Missing or incorrect documentation? Open an issue for this package.