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

transform-files

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

transform-files

Transform all files in one directory (and below) to another (or the same). Use underscore templates.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

NodeJS Transform

Transform all files in one directory (and below) to another (or the same). Use underscore templates.

Install

npm install transform-files

or if you want it system wide: (-g = global)

npm install -g transform-files

Usage

You can use this NPM as a program or as dependency in your own NPM.

From command line

Usage: transform dir/ newdir/ [data]
       transform /etc /docker/etc '{"domain": "example.com"}'

In a module

var transform = require('transform-files');
var inputDir = 'config/';
var outputDir = 'newConfig/';

var data = someAPI.fetch(); // Return a javascript object. For ex. { domain: 'example.com' }

transform(inputDir, outputDir, data);

Keywords

FAQs

Package last updated on 10 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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