<commit_before>require "language/node"

class Quicktype < Formula
  desc "Generate types and converters from JSON, Schema, and GraphQL"
  homepage "https://github.com/quicktype/quicktype"
  # quicktype should only be updated every 10 releases on multiples of 10
  url "https://registry.npmjs.org/quicktype/-/quicktype-15.0.190.tgz"
  sha256 "7599458439999df9aef0297e4401bd1bfcf539ce307b1226f074040f66bddb17"

  bottle do
    cellar :any_skip_relocation
    sha256 "565095a5049e3e4192dfa9a3ca777bdb9a92cca685a2c2e158be54033e8474f4" => :mojave
    sha256 "68ec3310a3dc7a9984cf3768a5f9f5413e3658ec14acf0f6c165d915e8f4fc18" => :high_sierra
    sha256 "ae61994a52d722d9781ed41f173be08f975c209b1bf335e51246697339369828" => :sierra
  end

  depends_on "node"

  def install
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]<commit_msg>quicktype: update 15.0.190 bottle.<commit_after>require "language/node"

class Quicktype < Formula
  desc "Generate types and converters from JSON, Schema, and GraphQL"
  homepage "https://github.com/quicktype/quicktype"
  # quicktype should only be updated every 10 releases on multiples of 10
  url "https://registry.npmjs.org/quicktype/-/quicktype-15.0.190.tgz"
  sha256 "7599458439999df9aef0297e4401bd1bfcf539ce307b1226f074040f66bddb17"

  bottle do
    cellar :any_skip_relocation
    sha256 "565095a5049e3e4192dfa9a3ca777bdb9a92cca685a2c2e158be54033e8474f4" => :mojave
    sha256 "68ec3310a3dc7a9984cf3768a5f9f5413e3658ec14acf0f6c165d915e8f4fc18" => :high_sierra
    sha256 "ae61994a52d722d9781ed41f173be08f975c209b1bf335e51246697339369828" => :sierra
    sha256 "cc08313149675a45d6d792058e10ca3dfd651fcca262e5376ce64fbb75df7fb9" => :x86_64_linux
  end

  depends_on "node"

  def install
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]
{'fraction_non_alphanumeric': 0.08602711157455684, 'fraction_numerical': 0.22940563086548488, 'mean_word_length': 6.029304029304029, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, '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': '7179331', 'n_tokens_mistral': 1023, 'n_tokens_neox': 781, 'n_words': 119}