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

@clinic/node-trace-log-join

Package Overview
Dependencies
Maintainers
4
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clinic/node-trace-log-join

Easily combine multiple node_trace files into a single one

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
19K
increased by57.58%
Maintainers
4
Weekly downloads
 
Created
Source

node-trace-log-join

Easily combine multiple node_trace files into a single one

npm install @clinic/node-trace-log-join

Build Status

Usage

var join = require('@clinic/node-trace-log-join')

join('node_trace.*.log', 'combined.log', function (err) {
  if (err) throw err
  console.log('All node_trace.*.log files have been combined into combined.log')
})

API

join(files, output, [callback])

Combines all trace files into the output file and calls the callback. All files are combined in a streaming fashion so the memory footprint is pretty small.

Alternatively you can pass a file pattern instead of the the files array.

After the files are combined, the input files are unlinked as well.

License

MIT

FAQs

Package last updated on 12 Nov 2021

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