🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

cate

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cate - npm Package Compare versions

Comparing version
0.0.2
to
0.1.0
+4
-3
package.json
{
"name": "cate",
"version": "0.0.2",
"version": "0.1.0",
"description": "Pretty printer for different file formats",

@@ -32,7 +32,8 @@ "main": "index.js",

"dependencies": {
"hicat": "^0.3.1",
"js-beautify": "^1.5.1",
"minimist": "~0.2.0",
"pretty-data": "~0.40.0",
"request": "^2.36.0",
"js-beautify": "^1.5.1"
"request": "^2.36.0"
}
}

@@ -5,1 +5,27 @@ cate

Pretty printer for different file formats
## Installation
```
npm install -g cate
```
## Usage
Render file with highlight:
```
cate sample.xml
# Pretty highlighted output goes here
```
Render remote file with highlight:
```
cate http://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml
```
## LICENSE
MIT
<esri:RecordSetData xmlns:esri='http://www.esri.com/schemas/ArcGIS/10.1' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xs='http://www.w3.org/2001/XMLSchema'><Data xsi:type='esri:RecordSet'><Fields xsi:type='esri:Fields'><FieldArray xsi:type='esri:ArrayOfField'><Field xsi:type='esri:Field'><Name>OBJECTID</Name><Type>esriFieldTypeOID</Type><IsNullable>false</IsNullable><Length>4</Length><Precision>0</Precision><Scale>0</Scale><Required>true</Required><Editable>false</Editable><AliasName>OBJECTID</AliasName><ModelName>OBJECTID</ModelName></Field><Field xsi:type='esri:Field'><Name>ID</Name><Type>esriFieldTypeDouble</Type><IsNullable>true</IsNullable><Length>8</Length><Precision>0</Precision><Scale>0</Scale><AliasName>ID</AliasName><ModelName>ID</ModelName></Field><Field xsi:type='esri:Field'><Name>LAND_USE</Name><Type>esriFieldTypeString</Type><IsNullable>true</IsNullable><Length>254</Length><Precision>0</Precision><Scale>0</Scale><AliasName>LAND_USE</AliasName><ModelName>LAND_USE</ModelName></Field><Field xsi:type='esri:Field'><Name>IMPERVIOUS</Name><Type>esriFieldTypeDouble</Type><IsNullable>true</IsNullable><Length>8</Length><Precision>0</Precision><Scale>0</Scale><AliasName>IMPERVIOUS</AliasName><ModelName>IMPERVIOUS</ModelName></Field><Field xsi:type='esri:Field'><Name>RUNOFF_COE</Name><Type>esriFieldTypeDouble</Type><IsNullable>true</IsNullable><Length>8</Length><Precision>0</Precision><Scale>0</Scale><AliasName>RUNOFF_COE</AliasName><ModelName>RUNOFF_COE</ModelName></Field><Field xsi:type='esri:Field'><Name>TOTAL_SUSP</Name><Type>esriFieldTypeDouble</Type><IsNullable>true</IsNullable><Length>8</Length><Precision>0</Precision><Scale>0</Scale><AliasName>TOTAL_SUSP</AliasName><ModelName>TOTAL_SUSP</ModelName></Field><Field xsi:type='esri:Field'><Name>NITRATE_MG</Name><Type>esriFieldTypeDouble</Type><IsNullable>true</IsNullable><Length>8</Length><Precision>0</Precision><Scale>0</Scale><AliasName>NITRATE_MG</AliasName><ModelName>NITRATE_MG</ModelName></Field><Field xsi:type='esri:Field'><Name>FECAL_COLI</Name><Type>esriFieldTypeDouble</Type><IsNullable>true</IsNullable><Length>8</Length><Precision>0</Precision><Scale>0</Scale><AliasName>FECAL_COLI</AliasName><ModelName>FECAL_COLI</ModelName></Field><Field xsi:type='esri:Field'><Name>TOTAL_COPP</Name><Type>esriFieldTypeDouble</Type><IsNullable>true</IsNullable><Length>8</Length><Precision>0</Precision><Scale>0</Scale><AliasName>TOTAL_COPP</AliasName><ModelName>TOTAL_COPP</ModelName></Field><Field xsi:type='esri:Field'><Name>TOTAL_LEAD</Name><Type>esriFieldTypeDouble</Type><IsNullable>true</IsNullable><Length>8</Length><Precision>0</Precision><Scale>0</Scale><AliasName>TOTAL_LEAD</AliasName><ModelName>TOTAL_LEAD</ModelName></Field><Field xsi:type='esri:Field'><Name>TOTAL_ZINC</Name><Type>esriFieldTypeDouble</Type><IsNullable>true</IsNullable><Length>8</Length><Precision>0</Precision><Scale>0</Scale><AliasName>TOTAL_ZINC</AliasName><ModelName>TOTAL_ZINC</ModelName></Field><Field xsi:type='esri:Field'><Name>SEDIMENT_C</Name><Type>esriFieldTypeString</Type><IsNullable>true</IsNullable><Length>254</Length><Precision>0</Precision><Scale>0</Scale><AliasName>SEDIMENT_C</AliasName><ModelName>SEDIMENT_C</ModelName></Field><Field xsi:type='esri:Field'><Name>NUTRIENT_C</Name><Type>esriFieldTypeString</Type><IsNullable>true</IsNullable><Length>254</Length><Precision>0</Precision><Scale>0</Scale><AliasName>NUTRIENT_C</AliasName><ModelName>NUTRIENT_C</ModelName></Field><Field xsi:type='esri:Field'><Name>PATHOGENS_</Name><Type>esriFieldTypeString</Type><IsNullable>true</IsNullable><Length>254</Length><Precision>0</Precision><Scale>0</Scale><AliasName>PATHOGENS_</AliasName><ModelName>PATHOGENS_</ModelName></Field><Field xsi:type='esri:Field'><Name>PESTICIDES</Name><Type>esriFieldTypeString</Type><IsNullable>true</IsNullable><Length>254</Length><Precision>0</Precision><Scale>0</Scale><AliasName>PESTICIDES</AliasName><ModelName>PESTICIDES</ModelName></Field><Field xsi:type='esri:Field'><Name>OIL_GREASE</Name><Type>esriFieldTypeString</Type><IsNullable>true</IsNullable><Length>254</Length><Precision>0</Precision><Scale>0</Scale><AliasName>OIL_GREASE</AliasName><ModelName>OIL_GREASE</ModelName></Field><Field xsi:type='esri:Field'><Name>TRASH_DEBR</Name><Type>esriFieldTypeString</Type><IsNullable>true</IsNullable><Length>254</Length><Precision>0</Precision><Scale>0</Scale><AliasName>TRASH_DEBR</AliasName><ModelName>TRASH_DEBR</ModelName></Field><Field xsi:type='esri:Field'><Name>HEAVYMETAL</Name><Type>esriFieldTypeString</Type><IsNullable>true</IsNullable><Length>254</Length><Precision>0</Precision><Scale>0</Scale><AliasName>HEAVYMETAL</AliasName><ModelName>HEAVYMETAL</ModelName></Field><Field xsi:type='esri:Field'><Name>TOC_CONCER</Name><Type>esriFieldTypeString</Type><IsNullable>true</IsNullable><Length>254</Length><Precision>0</Precision><Scale>0</Scale><AliasName>TOC_CONCER</AliasName><ModelName>TOC_CONCER</ModelName></Field><Field xsi:type='esri:Field'><Name>CGPyr</Name><Type>esriFieldTypeInteger</Type><IsNullable>true</IsNullable><Length>4</Length><Precision>0</Precision><Scale>0</Scale><AliasName>CGPyr</AliasName><ModelName>CGPyr</ModelName></Field></FieldArray></Fields><Records xsi:type='esri:ArrayOfRecord'><Record xsi:type='esri:Record'><Values xsi:type='esri:ArrayOfValue'><Value xsi:type='xs:int'>1</Value><Value xsi:type='xs:double'>1</Value><Value xsi:type='xs:string'>Residential_SF_MF</Value><Value xsi:type='xs:double'>0.57499999999999996</Value><Value xsi:type='xs:double'>0.39027000000000001</Value><Value xsi:type='xs:double'>82.049999999999997</Value><Value xsi:type='xs:double'>1.145</Value><Value xsi:type='xs:double'>21450</Value><Value xsi:type='xs:double'>0.0154</Value><Value xsi:type='xs:double'>0.0079000000000000008</Value><Value xsi:type='xs:double'>0.098500000000000004</Value><Value xsi:type='xs:string'>Medium</Value><Value xsi:type='xs:string'>High</Value><Value xsi:type='xs:string'>Medium</Value><Value xsi:type='xs:string'>High</Value><Value xsi:type='xs:string'>Medium</Value><Value xsi:type='xs:string'>Medium</Value><Value xsi:type='xs:string'>Low</Value><Value xsi:type='xs:string'>Low</Value><Value xsi:type='xs:int'>2</Value></Values></Record><Record xsi:type='esri:Record'><Values xsi:type='esri:ArrayOfValue'><Value xsi:type='xs:int'>2</Value><Value xsi:type='xs:double'>2</Value><Value xsi:type='xs:string'>Commercial_Industrial</Value><Value xsi:type='xs:double'>0.90000000000000002</Value><Value xsi:type='xs:double'>0.73028000000000004</Value><Value xsi:type='xs:double'>143</Value><Value xsi:type='xs:double'>0.70999999999999996</Value><Value xsi:type='xs:double'>41830</Value><Value xsi:type='xs:double'>0.03295</Value><Value xsi:type='xs:double'>0.0144</Value><Value xsi:type='xs:double'>0.38735000000000003</Value><Value xsi:type='xs:string'>High</Value><Value xsi:type='xs:string'>Medium</Value><Value xsi:type='xs:string'>High</Value><Value xsi:type='xs:string'>Medium</Value><Value xsi:type='xs:string'>High</Value><Value xsi:type='xs:string'>Medium</Value><Value xsi:type='xs:string'>High</Value><Value xsi:type='xs:string'>High</Value><Value xsi:type='xs:int'>1</Value></Values></Record><Record xsi:type='esri:Record'><Values xsi:type='esri:ArrayOfValue'><Value xsi:type='xs:int'>3</Value><Value xsi:type='xs:double'>3</Value><Value xsi:type='xs:string'>Roadway_Parking_Lot</Value><Value xsi:type='xs:double'>0.90000000000000002</Value><Value xsi:type='xs:double'>0.73028000000000004</Value><Value xsi:type='xs:double'>77.799999999999997</Value><Value xsi:type='xs:double'>0.73999999999999999</Value><Value xsi:type='xs:double'>1680</Value><Value xsi:type='xs:double'>0.052200000000000003</Value><Value xsi:type='xs:double'>0.0091999999999999998</Value><Value xsi:type='xs:double'>0.29289999999999999</Value><Value xsi:type='xs:string'>Medium</Value><Value xsi:type='xs:string'>Medium</Value><Value xsi:type='xs:string'>Low</Value><Value xsi:type='xs:string'>Medium</Value><Value xsi:type='xs:string'>High</Value><Value xsi:type='xs:string'>Medium</Value><Value xsi:type='xs:string'>High</Value><Value xsi:type='xs:string'>High</Value><Value xsi:type='xs:int'>1</Value></Values></Record><Record xsi:type='esri:Record'><Values xsi:type='esri:ArrayOfValue'><Value xsi:type='xs:int'>4</Value><Value xsi:type='xs:double'>4</Value><Value xsi:type='xs:string'>Institutional_Schools</Value><Value xsi:type='xs:double'>0.40000000000000002</Value><Value xsi:type='xs:double'>0.27971000000000001</Value><Value xsi:type='xs:double'>99.599999999999994</Value><Value xsi:type='xs:double'>0.60999999999999999</Value><Value xsi:type='xs:double'>79900</Value><Value xsi:type='xs:double'>0.019900000000000001</Value><Value xsi:type='xs:double'>0.0035999999999999999</Value><Value xsi:type='xs:double'>0.1176</Value><Value xsi:type='xs:string'>Medium</Value><Value xsi:type='xs:string'>Medium</Value><Value xsi:type='xs:string'>High</Value><Value xsi:type='xs:string'>High</Value><Value xsi:type='xs:string'>Medium</Value><Value xsi:type='xs:string'>Medium</Value><Value xsi:type='xs:string'>Low</Value><Value xsi:type='xs:string'>Low</Value><Value xsi:type='xs:int'>2</Value></Values></Record></Records></Data></esri:RecordSetData>

Sorry, the diff of this file is not supported yet