UNPKG

object-placeholder

Version:

It's a zero-dependency package that exports default function: ```text placeholder(<template>, <data>, <options>) ``` and function with named params: ```text placeholder.replace({ template, data, options }) ``` where: - `template` - some template ( [string

43 lines (42 loc) 779 B
{ "name": "object-placeholder", "version": "0.2.3", "description": "", "main": "index.js", "keywords": [ "placeholder", "replace", "template", "templates", "mustache", "object", "string" ], "author": { "name": "Taras Panasiuk", "email": "webdev.taras@gmail.com" }, "repository": { "type": "git", "url": "git+https://github.com:webdev-taras/object-placeholder.git" }, "license": "MIT", "scripts": { "test": "ava", "test:watch": "ava --watch", "test:coverage": "nyc ava --timeout=3000" }, "ava": { "require": [ "./test/before-tests.js" ], "files": [ "test/**/*.test.js", "!test/data" ] }, "devDependencies": { "ava": "^3.15.0", "nyc": "^15.1.0" } }