Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

tsertkov/dotpath-compile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⛔️ DEPRECATED

dotpath-compile

NPM

Build Status Coverage Status

Dot-path based JavaScript object template compiler.

Features

  • expand dot-path template variables
  • flexible inheritance mechanism

Usage

var compile = require('dotpath-compile');
someobj = compile(someobj);

All use cases are described in test code.

Public API

compile(obj)

Compile dotpath template variables in a given object.

Parameters:

  • obj {Object | Array} - Object to be compiled

Return Values:

Returns compiled object.

Scripts

  • npm test - run tests
  • npm run jsdoc - build jsdoc
  • npm run dev - run tests continuously

License

The MIT License (MIT)

About

Dot-path based JavaScript object template compiler.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published