string-template-parser
Advanced tools
Comparing version
// Generated by dts-bundle v0.6.1 | ||
declare module 'string-template-parser' { | ||
export * from 'string-template-parser/string-parser'; | ||
export * from 'string-template-parser/string-parser'; | ||
} | ||
declare module 'string-template-parser/string-parser' { | ||
export interface Pipe { | ||
name: string; | ||
parameters: string[]; | ||
} | ||
export interface Variable { | ||
name: string; | ||
pipes: Pipe[]; | ||
} | ||
export interface ParsedString { | ||
literals: string[]; | ||
variables: Variable[]; | ||
} | ||
export function parseStringTemplateGenerator({ESCAPE, VARIABLE_START, VARIABLE_END, PIPE_START, PIPE_PARAMETER_START, QUOTED_STRING}?: { | ||
ESCAPE?: RegExp; | ||
VARIABLE_START?: RegExp; | ||
VARIABLE_END?: RegExp; | ||
PIPE_START?: RegExp; | ||
PIPE_PARAMETER_START?: RegExp; | ||
QUOTED_STRING?: RegExp; | ||
}): (input: string) => ParsedString; | ||
export const parseStringTemplate: (input: string) => ParsedString; | ||
export interface Pipe { | ||
name: string; | ||
parameters: string[]; | ||
} | ||
export interface Variable { | ||
name: string; | ||
pipes: Pipe[]; | ||
} | ||
export interface ParsedString { | ||
literals: string[]; | ||
variables: Variable[]; | ||
} | ||
export function parseStringTemplateGenerator({ESCAPE, VARIABLE_START, VARIABLE_END, PIPE_START, PIPE_PARAMETER_START, QUOTED_STRING}?: { | ||
ESCAPE?: RegExp; | ||
VARIABLE_START?: RegExp; | ||
VARIABLE_END?: RegExp; | ||
PIPE_START?: RegExp; | ||
PIPE_PARAMETER_START?: RegExp; | ||
QUOTED_STRING?: RegExp; | ||
}): (input: string) => ParsedString; | ||
export const parseStringTemplate: (input: string) => ParsedString; | ||
} | ||
{ | ||
"name": "string-template-parser", | ||
"version": "1.0.0-alpha.4", | ||
"version": "1.0.0-alpha.5", | ||
"description": "Parsing & evaluating utilities for string templates", | ||
@@ -13,3 +13,3 @@ "repository": "https://github.com/souldreamer/string-template-parser.git", | ||
}, | ||
"type": "dist/index.d.ts", | ||
"types": "dist/index.d.ts", | ||
"devDependencies": { | ||
@@ -16,0 +16,0 @@ "ava": "^0.16.0", |
84208
-0.08%