
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
growing-file
Advanced tools
Sometimes you need to read from a file that is still being written to by another process. This library provides a readable stream that keeps reading until the file has been idle for a certain time.
This module is still fresh. Try it while it's hot.
npm install growing-file
var file = GrowingFile.open('my-growing-file.dat');
file.pipe(<some writeable stream>);
Note: The file does not have to exist yet when invoking this method. An
'error' event is emitted if it is not created within the configured timeout.
GrowingFile.create accepts an options array.
var file = GrowingFile.open(path, options);
Where options defaults to:
{
timeout: 3000,
interval: 100,
}
Time values are given in ms.
timeout determines after what time a file is considered to be done growing.interval specifies the frequency at which the file is being polled for changes.Written by Felix Geisendörfer, licensed under the MIT license.
FAQs
A readable file stream for files that are growing.
The npm package growing-file receives a total of 758 weekly downloads. As such, growing-file popularity was classified as not popular.
We found that growing-file demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.