You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

string-template-parser

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

string-template-parser - npm Package Compare versions

Comparing version

to
1.0.0-alpha.5

44

dist/index.d.ts
// 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",