@types/atpl
TypeScript icon, indicating that this package has built-in type declarations

0.0.33 • Public • Published

Installation

npm install --save @types/atpl

Summary

This package contains type definitions for atpl (https://github.com/soywiz/atpl.js).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/atpl.

index.d.ts

// Imported from: https://github.com/soywiz/typescript-node-definitions/atpl.d.ts

export declare function compile(templateString: string, options: any): (context: any) => string;
export declare function __express(filename: string, options: any, callback: Function): any;

export declare function registerExtension(items: any): void;
export declare function registerTags(items: any): void;
export declare function registerFunctions(items: any): void;
export declare function registerFilters(items: any): void;
export declare function registerTests(items: any): void;

export declare function renderFileSync(viewsPath: string, filename: string, parameters: any, cache: boolean): string;
export declare function renderFile(
    viewsPath: string,
    filename: string,
    parameters: any,
    cache: boolean,
    done: (err: Error, result?: string) => void,
): void;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:04 GMT
  • Dependencies: none

Credits

These definitions were written by Carlos Ballesteros Velasco.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/atpl

Weekly Downloads

686

Version

0.0.33

License

MIT

Unpacked Size

4.24 kB

Total Files

5

Last publish

Collaborators

  • types