<commit_before>CSVJSON
=======

www.csvjson.com are online formatting and conversion tools that I use as a developer.
- [CSV to JSON](http://www.csvjson.com/csv2json) : Convert CSV (Excel) to JSON format.
- [JSON to CSV](http://www.csvjson.com/json2csv) : Convert JSON to CSV format (Excel).
- [SQL to JSON](http://www.csvjson.com/sql2json) : Convert SQL (CREATE TABLE and INSERT INTO statements) to JSON format.
- [JSON Beautifier](http://www.csvjson.com/json_beautifier) : Validate and format JSON. Convert it to Javascript code (drop quotes on keys).
- More to come...

CSVJSON is built using PHP CodeIgniter, Bootstrap 3.0, Underscore, JSON, jsonlint, and other goodies.

Forking welcome: https://github.com/martindrapeau/csvjson-app


Installation
------------

1.  Clone and drop inside a folder under a virtual host using your favorite WAMP or LAMP stack.
2.  Create a `data` directory at the same level as `www`. Saved data for permalinks get stored there.
3.  Create file application/config/aws_s3.php and paste this into it:
```
<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$config['aws_s3'] = array('supported' => defined('AWS_S3_URL'));
```

CodeIgniter's index.php will start everything. If you plan to deploy in a production environment, edit it and change this with your domain name:
```
if (strpos($_SERVER['SERVER_NAME'], "csvjson.com") !== FALSE) {<commit_msg>Updated docs<commit_after>CSVJSON
=======

www.csvjson.com are online formatting and conversion tools that I use as a developer.
- [CSV to JSON](https://www.csvjson.com/csv2json) : Convert CSV (Excel) to JSON format.
- [JSON to CSV](https://www.csvjson.com/json2csv) : Convert JSON to CSV format (Excel).
- [SQL to JSON](https://www.csvjson.com/sql2json) : Convert SQL (CREATE TABLE and INSERT INTO statements) to JSON format.
- [JSON Validator](https://csvjson.com/json_validator) : Cerifies that your JavaScript Object Notation adheres to the JSON specification.
- [JSON Beautifier](https://www.csvjson.com/json_beautifier) : Format and make beautiful JSON. Convert it to Javascript code (drop quotes on keys).
- More to come...

CSVJSON is built using PHP CodeIgniter, Bootstrap 3.0, Underscore, JSON, jsonlint, and other goodies.

Forking welcome: https://github.com/martindrapeau/csvjson-app


Installation
------------

1.  Clone and drop inside a folder under a virtual host using your favorite WAMP or LAMP stack.
2.  Create a `data` directory at the same level as `www`. Saved data for permalinks get stored there.
3.  Create file application/config/aws_s3.php and paste this into it:
```
<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$config['aws_s3'] = array('supported' => defined('AWS_S3_URL'));
```

CodeIgniter's index.php will start everything. If you plan to deploy in a production environment, edit it and change this with your domain name:
```
if (strpos($_SERVER['SERVER_NAME'], "csvjson.com") !== FALSE) {
{'fraction_non_alphanumeric': 0.12613827993254637, 'fraction_numerical': 0.007419898819561552, 'mean_word_length': 4.392727272727273, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 7, 'lorem ipsum': 0, 'www.': 12, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2780366', 'n_tokens_mistral': 912, 'n_tokens_neox': 872, 'n_words': 345}