#!/usr/bin/env node 'use strict'; var looseEnvify = require('./'); var fs = require('fs'); if (process.argv[2]) { fs.createReadStream(process.argv[2], {encoding: 'utf8'}) .pipe(looseEnvify(process.argv[2])) .pipe(process.stdout); } else { process.stdin.resume() process.stdin .pipe(looseEnvify(__filename)) .pipe(process.stdout); }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
LICENSE | File | 1.07 KB | 0644 |
|
README.md | File | 1.05 KB | 0644 |
|
cli.js | File | 356 B | 0755 |
|
custom.js | File | 83 B | 0644 |
|
index.js | File | 72 B | 0644 |
|
loose-envify.js | File | 791 B | 0644 |
|
package.json | File | 1.71 KB | 0644 |
|
replace.js | File | 1.5 KB | 0644 |
|