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

interp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

interp - npm Package Compare versions

Comparing version 0.0.2 to 0.1.0

CHANGELOG.md

9

index.js

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

var _ = require("highland"),
handlebars = require("handlebars"),
yaml = require("js-yaml");
handlebars = require("handlebars");

@@ -35,8 +34,2 @@ if (process.env.DATABASE_URL) {

})
.map(function(body) {
return yaml.safeLoad(body);
})
.map(function(body) {
return JSON.stringify(body, null, " ");
})
.pipe(process.stdout);
{
"name": "interp",
"version": "0.0.2",
"description": "Interpolate environment vars into mustache YAML templates",
"version": "0.1.0",
"description": "Interpolate environment vars into mustache templates",
"author": "Seth Fitzsimmons <seth@mojodna.net>",
"license": "ISC",
"bin": "index.js",
"repository": {
"type": "git",
"url": "git://github.com/stamen/interp.git"
},
"dependencies": {
"handlebars": "^2.0.0-alpha.4",
"highland": "^1.25.4",
"js-yaml": "^2.1.3"
"handlebars": "^2.0.0-beta.1",
"highland": "^1.28.0"
}
}
# interp
Interpolate environment variables into [mustache](http://mustache.github.io/)
YAML templates provided to `STDIN` and output them as JSON.
templates provided to `STDIN`.

@@ -12,7 +12,1 @@ ## Special Environment Variables

preferring those that have already been set.
## TODO
* Eliminate the YAML assumption
([`js-yaml`'s](https://github.com/nodeca/js-yaml) binary doesn't know how to
read from `STDIN`, at least in 3.1.0).
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