New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@hapify/syntax

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hapify/syntax

Templating syntax optimized for Hapify models handling.

npmnpm
Version
1.6.0
Version published
Weekly downloads
15
-73.68%
Maintainers
2
Weekly downloads
 
Created
Source

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.

Keywords

hapify

FAQs

Package last updated on 18 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts