{"version":3,"sources":["jsdelivr-header.js","/npm/mysql-json@0.1.3/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACAA,aAEA,QAAQ,kBACR,IAAI,WAAa,QAAQ,oBAOzB,OAAO,QAAU,SAAS,GAEzB,GAAI,EACH,OAAO,IAAI,WAAW,GAGtB,MAAM,IAAI,MAAM,sCAGlB","file":"/npm/mysql-json@0.1.3/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/mysql-json@0.1.3/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/**\r\n * @author Sparw Jenkins\r\n * @description MYSQL-JSON INDEX FILE\r\n * @date 05/07/2017\r\n */\r\n\r\n\"use strict\";\r\n\r\nrequire('./lib/toolsbox');\r\nvar Connection = require('./lib/connection');\r\n\r\n/**\r\n * CONSTRUCTOR\r\n * Used to initialise mysql-json\r\n * @param {Object} host\r\n */\r\nmodule.exports = function(host) {\r\n\r\n\tif (host) {\r\n\t\treturn new Connection(host);\r\n\t}\r\n\telse {\r\n\t\tthrow new Error('mysql-json : require host parameter');\r\n\t}\r\n\r\n};"]}