Socket
Socket
Sign inDemoInstall

ecto

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ecto - npm Package Compare versions

Comparing version 0.0.1 to 0.1.1

dist/baseEngine.d.ts

57

package.json
{
"name": "ecto",
"version": "0.0.1",
"description": "Lightweight FRP tools for web dev",
"homepage": "http://github.com/twfarland/ecto",
"main": "src/main.js",
"repository": "https://github.com/twfarland/ecto",
"author": "Tim Farland <twfarland@gmail.com>"
"version": "0.1.1",
"description": "Modern Template Consolidation Engine for EJS, Markdown, Pug, Nunjucks, and Handlebars",
"main": "./dist/index",
"types": "./dist/index",
"repository": "https://github.com/jaredwray/ecto.git",
"author": "Jared Wray <me@jaredwray.com>",
"license": "MIT",
"keywords": [
"templates",
"generator",
"framework",
"html",
"handlebars",
"hbs",
"markdown",
"hjs",
"ejs"
],
"scripts": {
"watch": "tsc -w -p .",
"clean": "rm -rf ./dist && rm -rf node_modules",
"test": "jest --coverage",
"compile": "tsc -p .",
"build": "yarn && yarn test && yarn compile"
},
"dependencies": {
"@types/keyv": "^3.1.0",
"ejs": "^3.1.5",
"fs-extra": "^9.1.0",
"handlebars": "^4.4.3",
"helper-date": "^1.0.1",
"keyv": "^4.0.3",
"markdown-it": "^12.0.4",
"pug": "^3.0.0",
"winston": "^3.3.3"
},
"devDependencies": {
"@types/ejs": "^3.0.5",
"@types/express": "^4.11.1",
"@types/fs-extra": "^9.0.6",
"@types/jest": "^26.0.20",
"@types/pug": "^2.0.4",
"codecov": "^3.5.0",
"jest": "^26.6.3",
"ts-jest": "^26.5.0",
"typescript": "^4.1.3"
},
"files": [
"dist",
"bin"
]
}

@@ -1,2 +0,36 @@

# ecto
Lightweight FRP tools for web dev
![Ecto](ecto_logo.png "Ecto")
## Modern Template Consolidation Engine for EJS, Markdown, Pug, Nunjucks, Mustache, and Handlebars
[![Build Status](https://github.com/jaredwray/ecto/workflows/ecto-build/badge.svg)](https://github.com/jaredwray/ecto/actions)
[![Release Status](https://github.com/jaredwray/ecto/workflows/ecto-release/badge.svg)](https://github.com/jaredwray/ecto/actions)
[![GitHub license](https://img.shields.io/github/license/jaredwray/ecto)](https://github.com/jaredwray/ecto/blob/master/LICENSE)
[![codecov](https://codecov.io/gh/jaredwray/ecto/branch/master/graph/badge.svg)](https://codecov.io/gh/jaredwray/ecto)
[![npm](https://img.shields.io/npm/dm/ecto)](https://npmjs.com/packages/ecto)
-----
## Features
* Zero Config by default.
* Async render function for ES6 and Typescript.
* Automatic Engine Selection. No more selecting which engine to use as it does it for you based on file extension.
* Support for the top Template Engines: EJS, Markdown, Pug, Nunjucks, Mustache, Liquid, and Handlebars
* Maintained with Monthly Updates!
## Auto File Extension Selectors
| Engine | Extensions |
| :------------- | :---------- |
| EJS | .ejs |
| Markdown | .markdown, .md |
| Pug | .pug |
| Nunjucks | .njk |
| Mustache | .mustache |
| Handlebars | .hbs, .handlebars, .hjs |
| Liquid | .liquid |
-----
## API
`Render(sourceDir:string, data:obj, fileOutput?:string): string (returns rendered output)`

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc