ndjson-cli
ndjson-cli copied to clipboard
Command line tools for operating on newline-delimited JSON streams.
Given: _a.json_ ```json {"name":"Fred","color":"red"} {"name":"Alice","color":"green"} {"name":"Bob","color":"blue"} ``` and _b.json_ ```json {"name":"Fred","number":"21"} {"name":"Bob","number":"102"} {"name":"Alice","number":"42"} ``` the command `ndjson-join --inner 'd.name'
I enjoy using your cli. Using it, I'm stuck to make a join on a more complex condition than simple col1 = col2 using `ndjson-join expression₀ expression₁ file₀ file₁`. I...
It would be really convenient if you could do this: ``` ndjson-map '{...d, newProp: 3}' ``` It currently throws an error: ``` ndjson-map:expression ({...d, newProp: 3}) ^ SyntaxError: Unexpected token...
closes #40
The ndjson specification suggests that parsers should have an option for allowing (and ignoring) blank lines. It doesn’t explicitly specify the definition of an “empty line” but I’m guessing an...
Bumps [acorn](https://github.com/acornjs/acorn) from 5.1.1 to 5.7.4. Commits 6370e90 Mark version 5.7.4 fbc15b1 More rigorously check surrogate pairs in regexp validator 910e62b Mark version 5.7.3 3442a80 Make generate-identifier-regex capable of rewriting...
Inspired by the Command Line Cartography series, I started out implementing the same sequence for the state of [Texas](https://github.com/JaimeStill/mapping-research/blob/master/texas/texas-choropleth.md) (this issue relates to step 8 in that sequence). Following this,...
I have a large hexagon grid that I thought would be a perfect candidate for topojson. But I seem to be hitting the limits of ndjson and geo2topo. There are...
Hi, Trying to use the d3.polygon module from the command line. Specifically, the idea is to utilize d3.polygonContains to determine whether a polygon contains a specific latitude / longitude pair....
Currently the only way to know what variables are provided to the CLI expressions is to look up the web documentation. This PR gives a very brief description of each...