Skip to content

segment-boneyard/filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

filter(1)

Filter JSON streams using javascript.

$ echo '{"event":true}{"event":1}{}' | filter "if (j.event) return j"
{"event":true}
{"event":1}

Installation

$ go get github.com/segmentio/filter

Usage

Usage: 
  filter <js>

  filter -h | --help
  filter -v | --version

Options:
  -h, --help      show help information
  -v, --version   show version information

License

MIT

About

Filter JSON streams using javascript.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages