Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mustache-prestatic

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mustache-prestatic - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

changelog.md

4

bin/mustache-prestatic.js

@@ -22,3 +22,3 @@ #!/usr/bin/env node

type: 'boolean'
}).help('help', 'Show help text.')
})

@@ -28,3 +28,3 @@ .option('version', {

type: 'boolean'
}).version()
})

@@ -31,0 +31,0 @@ .option('data', {

{
"name": "mustache-prestatic",
"version": "2.0.4",
"version": "2.0.5",
"description": "Compile pages of static HTML based on partials, views and data.",

@@ -21,9 +21,9 @@ "main": "src/index.js",

"lagden-promisify": "^3.0.0",
"mustache": "^2.2.1",
"mustache": "^3.0.1",
"promise-all-props": "^1.0.0",
"yargs": "^12.0.0"
"yargs": "^13.2.1"
},
"devDependencies": {
"eslint": "^5.0.0",
"tape": "^4.5.1"
"eslint": "^5.14.1",
"tape": "^4.10.1"
},

@@ -30,0 +30,0 @@ "repository": {

@@ -13,3 +13,3 @@ # {{ mustache }} prestatic

### CLI
This will take all files in the 'views', 'data' and 'partials' directories and use those together to write HTML files to the 'dist' directory.:
This will take all files in the 'views', 'data' and 'partials' directories and use those together to write HTML files to the 'dist' directory:
```shell

@@ -19,2 +19,7 @@ mustache-prestatic ./views/* --data ./data/* --partials ./partials/* --output dist

For example using the [test input data](/tests/input) files would be:
```shell
mustache-prestatic ./tests/input/views/* --data ./tests/input/data/* --partials ./tests/input/partials/*
```
### JavaScript

@@ -21,0 +26,0 @@ ```js

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