Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/segment-boneyard/filter
Filter JSON streams using javascript.
https://github.com/segment-boneyard/filter
Last synced: about 5 hours 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 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-09T23:34:34.000Z (over 9 years ago)
- Last Synced: 2024-06-19T05:57:49.730Z (5 months ago)
- Language: Go
- Size: 105 KB
- Stars: 72
- Watchers: 51
- 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