Mercurial
view third_party/bun/node_modules/loose-envify/cli.js @ 17:d97ec3ded2ae
[Seobeo] Few changes...
- Fixed seobeo edge for macos
- Updated so that socket creation can be used for both client and server
- Started on a cutelient library for making connection to the server.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Sat, 04 Oct 2025 07:53:12 -0700 |
| parents | de54585a40f1 |
| children |
line wrap: on
line source
#!/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); }