Skip to content
This repository was archived by the owner on Apr 21, 2021. It is now read-only.
/ syntax Public archive

Templating syntax optimized for Hapify models handling

License

Notifications You must be signed in to change notification settings

hapify/syntax

Repository files navigation

Hapify Syntax

Description

This package parses templates written with the Hapify Syntax.

Build Status codecov

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.

About

Templating syntax optimized for Hapify models handling

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •