node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org ยป

png-guts

CLI

cat foo.png | png-guts --strip-text > foo-normalized.png
png-guts bar.png --strip-text

Library

{PNG_FILE_HEADER, ChunkReader} = require 'png-guts'

process.stdout.write PNG_FILE_HEADER
reader = new ChunkReader process.openStdin()
reader.on 'chunk', (type, raw) ->
  process.stderr.write "#{type} #{raw.length}\n"
  process.stdout.write raw