New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "transform-files",
"version": "1.0.0",
"version": "1.0.1",
"description": "Transform all files in one directory (and below) to another (or the same). Use underscore templates.",

@@ -5,0 +5,0 @@ "main": "app.js",

@@ -1,2 +0,33 @@

# node-transform-files
# 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
```javascript
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);
```
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