sponge

0.1.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    1,967
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    1,967
  • 0.0.1
    0

Package Sidebar

Install

npm i sponge

Weekly Downloads

1,967

Version

0.1.0

License

MIT

Last publish

Collaborators

  • eush77