https://github.com/segment-boneyard/filter
Filter JSON streams using javascript.
https://github.com/segment-boneyard/filter
Last synced: 3 months ago
JSON representation
Filter JSON streams using javascript.
- Host: GitHub
- URL: https://github.com/segment-boneyard/filter
- Owner: segment-boneyard
- Created: 2015-03-25T18:57:14.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-09T23:34:34.000Z (about 10 years ago)
- Last Synced: 2025-04-13T14:05:45.291Z (3 months ago)
- Language: Go
- Size: 105 KB
- Stars: 71
- Watchers: 50
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## filter(1)
Filter JSON streams using javascript.
```bash
$ echo '{"event":true}{"event":1}{}' | filter "if (j.event) return j"
{"event":true}
{"event":1}
```## Installation
```bash
$ go get github.com/segmentio/filter
```## Usage
```bash
Usage:
filterfilter -h | --help
filter -v | --versionOptions:
-h, --help show help information
-v, --version show version information
```## License
MIT