@hapify/syntax
TypeScript icon, indicating that this package has built-in type declarations

1.6.1 • Public • Published

Hapify Syntax

Description

This package parses templates written with the Hapify Syntax.

Usage

import { HapifySyntax } from '@hapify/syntax';

const template = "Model is <<Model camel>>.";
const model: { [key: string]: any; } = { /* Explicit model from generator */ };
HapifySyntax.run(template, model, { timeout: 2000 }); // Outputs 'Model is userProfile'.

More

For more information about this module, please refer to the online documentation.

Readme

Keywords

Package Sidebar

Install

npm i @hapify/syntax

Weekly Downloads

34

Version

1.6.1

License

MIT

Unpacked Size

90.3 kB

Total Files

65

Last publish

Collaborators

  • edouarddemotes
  • dt-tractr