Comparing version 0.0.1 to 0.1.1
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
18839
24
268
37
9
9
2
2
+ Added@types/keyv@^3.1.0
+ Addedejs@^3.1.5
+ Addedfs-extra@^9.1.0
+ Addedhandlebars@^4.4.3
+ Addedhelper-date@^1.0.1
+ Addedkeyv@^4.0.3
+ Addedmarkdown-it@^12.0.4
+ Addedpug@^3.0.0
+ Addedwinston@^3.3.3
+ Added@babel/helper-string-parser@7.24.8(transitive)
+ Added@babel/helper-validator-identifier@7.24.7(transitive)
+ Added@babel/parser@7.25.6(transitive)
+ Added@babel/types@7.25.6(transitive)
+ Added@colors/colors@1.6.0(transitive)
+ Added@dabh/diagnostics@2.0.3(transitive)
+ Added@types/keyv@3.1.4(transitive)
+ Added@types/node@22.7.3(transitive)
+ Added@types/triple-beam@1.3.5(transitive)
+ Addedacorn@7.4.1(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedargparse@2.0.1(transitive)
+ Addedasap@2.0.6(transitive)
+ Addedassert-never@1.3.0(transitive)
+ Addedasync@3.2.6(transitive)
+ Addedat-least-node@1.0.0(transitive)
+ Addedbabel-walk@3.0.0-canary-5(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.112.0.1(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedcharacter-parser@2.2.0(transitive)
+ Addedcolor@3.2.1(transitive)
+ Addedcolor-convert@1.9.32.0.1(transitive)
+ Addedcolor-name@1.1.31.1.4(transitive)
+ Addedcolor-string@1.9.1(transitive)
+ Addedcolorspace@1.1.4(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedconstantinople@4.0.1(transitive)
+ Addeddate.js@0.3.3(transitive)
+ Addeddebug@3.1.0(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddoctypes@1.1.0(transitive)
+ Addedejs@3.1.10(transitive)
+ Addedenabled@2.0.0(transitive)
+ Addedentities@2.1.0(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedfecha@4.2.3(transitive)
+ Addedfilelist@1.0.4(transitive)
+ Addedfn.name@1.1.0(transitive)
+ Addedfs-extra@9.1.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhandlebars@4.7.8(transitive)
+ Addedhandlebars-utils@1.0.6(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhelper-date@1.0.1(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-arrayish@0.3.2(transitive)
+ Addedis-buffer@1.1.6(transitive)
+ Addedis-core-module@2.15.1(transitive)
+ Addedis-expression@4.0.0(transitive)
+ Addedis-promise@2.2.2(transitive)
+ Addedis-regex@1.1.4(transitive)
+ Addedis-stream@2.0.1(transitive)
+ Addedjake@10.9.2(transitive)
+ Addedjs-stringify@1.0.2(transitive)
+ Addedjson-buffer@3.0.1(transitive)
+ Addedjsonfile@6.1.0(transitive)
+ Addedjstransformer@1.0.0(transitive)
+ Addedkeyv@4.5.4(transitive)
+ Addedkind-of@3.2.26.0.3(transitive)
+ Addedkuler@2.0.0(transitive)
+ Addedlinkify-it@3.0.3(transitive)
+ Addedlogform@2.6.1(transitive)
+ Addedmarkdown-it@12.3.2(transitive)
+ Addedmdurl@1.0.1(transitive)
+ Addedminimatch@3.1.25.1.6(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmoment@2.30.1(transitive)
+ Addedms@2.0.02.1.3(transitive)
+ Addedneo-async@2.6.2(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedone-time@1.0.0(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedpromise@7.3.1(transitive)
+ Addedpug@3.0.3(transitive)
+ Addedpug-attrs@3.0.0(transitive)
+ Addedpug-code-gen@3.0.3(transitive)
+ Addedpug-error@2.1.0(transitive)
+ Addedpug-filters@4.0.0(transitive)
+ Addedpug-lexer@5.0.1(transitive)
+ Addedpug-linker@4.0.0(transitive)
+ Addedpug-load@3.0.0(transitive)
+ Addedpug-parser@6.0.0(transitive)
+ Addedpug-runtime@3.0.1(transitive)
+ Addedpug-strip-comments@2.0.0(transitive)
+ Addedpug-walk@2.0.0(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedresolve@1.22.8(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsafe-stable-stringify@2.5.0(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedsimple-swizzle@0.2.2(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addedstack-trace@0.0.10(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedsupports-color@7.2.0(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedtext-hex@1.0.0(transitive)
+ Addedto-fast-properties@2.0.0(transitive)
+ Addedtoken-stream@1.0.0(transitive)
+ Addedtriple-beam@1.4.1(transitive)
+ Addedtypeof-article@0.1.1(transitive)
+ Addeduc.micro@1.0.6(transitive)
+ Addeduglify-js@3.19.3(transitive)
+ Addedundici-types@6.19.8(transitive)
+ Addeduniversalify@2.0.1(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedvoid-elements@3.1.0(transitive)
+ Addedwinston@3.14.2(transitive)
+ Addedwinston-transport@4.7.1(transitive)
+ Addedwith@7.0.2(transitive)
+ Addedwordwrap@1.0.0(transitive)