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

viralify

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

viralify - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

bin/usage.txt

9

package.json
{
"name": "viralify",
"version": "0.1.0",
"version": "0.2.0",
"description": "Injects one or more browserify transforms into all dependencies of a package recursively.",
"main": "index.js",
"bin": {
"viralify": "bin/viralify.js"
},
"scripts": {

@@ -20,3 +23,5 @@ "test-main": "tap test/*.js",

"glob": "~3.2.7",
"runnel": "~0.5.1"
"runnel": "~0.5.1",
"minimist": "0.0.5",
"ansicolors": "~0.3.2"
},

@@ -23,0 +28,0 @@ "devDependencies": {

@@ -5,2 +5,6 @@ # viralify [![build status](https://secure.travis-ci.org/thlorenz/viralify.png)](http://travis-ci.org/thlorenz/viralify)

```sh
viralify . -t browserify-swap
```
```js

@@ -20,2 +24,24 @@ var viralify = require('viralify');

## Usage
```
viralify <path> <options>
Inject browserify transform(s) into the package.json files of all packages at and below the given path.
OPTIONS:
-t, --transform transform(s) to inject
-f, --front if set, the transform(s) are injected in the front of the transform field so they run first
EXAMPLES:
Inject 'browserify-swap' transform for package in current directory and all its dependencies
viralify . -t browserify-swap
Inject 'envify' and 'es6ify' transforms in front for all dependencies found in ./node_modules
viralify ./node_modules --transform envify --transform es6ify --front
```
## API

@@ -22,0 +48,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