Skip to content

eush77/node-sponge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm

sponge

Build Status Dependency Status

Reimplementation of sponge(1) from moreutils.

CLI

sponge [<file>]

If <file> is omitted, write to stdout.

API

sponge(filename)

Returns a writable stream that buffers the input and then writes to a file.

sponge()

Returns a transform stream that buffers the input and then writes to the output.

References

  • moreutils - growing collection of the unix tools that nobody thought to write long ago when unix was young.

Install

npm install sponge

License

MIT

About

sponge(1) from moreutils for Node

Resources

License

Stars

Watchers

Forks

Packages

No packages published