<commit_before>:markdown
  The [`sqlite3` Node module](https://www.npmjs.com/package/sqlite3) makes it easy to store data in an SQLite database.

  To save data all you need to do is use the `sqlite3` module.

:coderay
  #!javascript
  var sqlite3 = require("sqlite3").verbose();

  # Open a database handle
  var db = new sqlite3.Database("data.sqlite");
  db.serialize(function() {

    # Create new table
    db.run("CREATE TABLE IF NOT EXISTS data (title TEXT)");

    # Insert a new record
    var statement = db.prepare("INSERT INTO data(title) VALUES (?)");
    statement.run('A new title to add');
    statement.finalize();
  });<commit_msg>Add a bit more explanation as this is more complex than suggested<commit_after>:markdown
  The [`sqlite3` Node module](https://www.npmjs.com/package/sqlite3) makes it easy to store data in an SQLite database.

  To save data all you need to do is use the `sqlite3` module
  to create your database and table, and then use the `prepare`, `run`,
  and `finalize` functions to insert new records.

:coderay
  #!javascript
  var sqlite3 = require("sqlite3").verbose();

  # Open a database handle
  var db = new sqlite3.Database("data.sqlite");
  db.serialize(function() {

    # Create new table
    db.run("CREATE TABLE IF NOT EXISTS data (title TEXT)");

    # Insert a new record
    var statement = db.prepare("INSERT INTO data(title) VALUES (?)");
    statement.run('A new title to add');
    statement.finalize();
  });
{'fraction_non_alphanumeric': 0.11760707002039429, 'fraction_numerical': 0.008157715839564922, 'mean_word_length': 3.733118971061093, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '3829875', 'n_tokens_mistral': 453, 'n_tokens_neox': 432, 'n_words': 168}