{"_id":"@armarti/sqlectron-core","_rev":"1-66a7b6aa17230c399fc78a1a25cfcabd","name":"@armarti/sqlectron-core","dist-tags":{"latest":"8.0.1"},"versions":{"8.0.1":{"name":"@armarti/sqlectron-core","version":"8.0.1","description":"sqlectron-core","main":"lib/index.js","author":{"name":"The SQLECTRON Team"},"scripts":{"compile":"babel -d lib/ src/","watch":"babel --watch -d lib/ src/","prepublish":"npm run compile","lint":"eslint src/ spec/","test:mysql":"DB_CLIENTS=mysql npm run test","test:sqlite":"DB_CLIENTS=sqlite npm run test","test:sqlserver":"DB_CLIENTS=sqlserver npm run test","test:postgresql":"DB_CLIENTS=postgresql npm run test","test:cassandra":"DB_CLIENTS=cassandra npm run test","start":"npm run watch-test","test":"npm run lint && mocha --timeout 40000 --compilers js:@babel/register --reporter spec ./spec/**/*.spec.js","watch-test":"npm run lint && mocha --compilers js:@babel/register --watch --reporter spec ./spec/**/*.spec.js"},"keywords":["sqlectron","sql","postgres","mysql"],"repository":{"type":"git","url":"git+https://github.com/sqlectron/sqlectron-core.git"},"engines":{"node":">=6 <10.2"},"dependencies":{"cassandra-driver":"^3.1.1","debug":"^4.0.1","env-paths":"^1.0.0","mkdirp":"^0.5.1","mssql":"^4.2.1","mysql":"^2.16.0","pg":"git+https://github.com/maxcnunes/node-postgres.git#multiple-statements-v6.1.0","portfinder":"^1.0.17","rimraf":"^2.6.2","sql-query-identifier":"^1.1.0","sqlite3":"^4.0.1","ssh2":"^0.6.1","uuid":"^3.3.2","valida":"^2.4.0"},"devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.1","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-syntax-object-rest-spread":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.0.0","@babel/plugin-transform-destructuring":"^7.0.0","@babel/plugin-transform-modules-commonjs":"^7.0.0","@babel/register":"^7.0.0","babel-eslint":"^9.0.0","chai":"^4.1.2","chai-as-promised":"^7.1.1","eslint":"^4.19.1","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-babel":"^3.3.0","eslint-plugin-import":"^2.14.0","mocha":"^3.0.2","sinon":"^1.17.2"},"bugs":{"url":"https://github.com/sqlectron/sqlectron-core/issues"},"homepage":"https://github.com/sqlectron/sqlectron-core#readme","_id":"@armarti/sqlectron-core@8.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.1.0","_npmUser":{"name":"dcmorse","email":"dcmorse@armarti.com"},"dist":{"integrity":"sha512-bRTnugC3ZPW3AKvylqdq/HF49ZaVD1+PYGg1jUXMQzZjZFAplRila/Zik6ayTPtnavTqQZ9PYejs5NnrijaP1w==","shasum":"ae5f64eb975badde85dc992d1e9f45f0c63dee43","tarball":"https://registry.npmjs.org/@armarti/sqlectron-core/-/sqlectron-core-8.0.1.tgz","fileCount":48,"unpackedSize":240227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbq+omCRA9TVsSAnZWagAAsfkQAJKMggp/tYBp4JFuzp2w\n53IzX6ta4EPdBTDunPmRBZkMuy6VdHHYDMRJTulNCXjheRL6K5iM6uzMeYxh\nKFxxrQT6IK0srczJnfFR2tvztcDl0Hay/qpIIhWgnK/xMMCAIOnlELSspnRL\nJ/qLPFhrypFpplUJmyb5k1q3PDWEDRlti42e2UpkuquWWGOx9VknTQuJBF7n\n3LzYvckQEX/gUF0Gl2jENayyqbNCZA+OuLWW862+8q8+is66tEZ+yrNy0JBw\naofzGclMA5A+1ffEaq8YUAEGgAdfdiu37skxuChH3tqYw5TH+oj9ubOkw+1G\n5tq/59lvjFzj6FEQMfhBK7jffi8zwvT71pXXNopGdkZuTOAQl7f5A/GJHWoj\nYVBqXYHql18FuwhPNXhfmISUGoNYIDDBgXH3s5tXy/XerYvbNrRu9PfByFq5\nENp5gOGt0flVQO32vLfwsbNn6Sg2YbQNiuAcR/V6oItvlPXlgtpMdzdQez12\nT1SQi9CYmNpwvnKIRKJNGcOihZrUy3j+medIyIYFSz8pCAQR2Ruk7Pxya/cH\n6AiW2v0umBt20n0b+q5dIC7XmZY2dLtg6kYRd9fOlaOAKiHXWSAtrL8iRoD1\nRIg/NDeTBXRHTIiKCuRF7gi+gTqldY83SBPTPvztBb6ZxiAUPi4v5LeCAO85\nblIK\r\n=HQvp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDh3cDKxdEU0B5wPy+751Brq625yqezkWt9jSFfZ5PWKQIhAON0EUQPrxMyZbjK5FpnXnr7A+cBdwtZhrXyzCGzOPzC"}]},"maintainers":[{"name":"dcmorse","email":"dcmorse@armarti.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sqlectron-core_8.0.1_1537993252432_0.015976675991562495"},"_hasShrinkwrap":false}},"time":{"created":"2018-09-26T20:20:52.321Z","8.0.1":"2018-09-26T20:20:53.567Z","modified":"2022-04-04T15:32:59.944Z"},"maintainers":[{"name":"dcmorse","email":"dcmorse@armarti.com"}],"description":"sqlectron-core","homepage":"https://github.com/sqlectron/sqlectron-core#readme","keywords":["sqlectron","sql","postgres","mysql"],"repository":{"type":"git","url":"git+https://github.com/sqlectron/sqlectron-core.git"},"author":{"name":"The SQLECTRON Team"},"bugs":{"url":"https://github.com/sqlectron/sqlectron-core/issues"},"readme":"# sqlectron-core\n\n[![Build status](https://ci.appveyor.com/api/projects/status/bdnpb06lu4sl0hwn/branch/master?svg=true)](https://ci.appveyor.com/project/maxcnunes/sqlectron-core/branch/master)\n\nThe common code used by all sqlectron clients.\n\n> Requires node 6 or higher.\n\n#### How to pronounce\n\nIt is pronounced \"sequelectron\" - https://translate.google.com/?source=osdd#en/en/sequelectron\n\n#### Current supported databases\n* [PostgreSQL](http://www.postgresql.org/)\n* [MySQL](https://www.mysql.com/)\n* [Microsoft SQL Server](http://www.microsoft.com/en-us/server-cloud/products/sql-server/)\n* [Cassandra](http://cassandra.apache.org/) (NoSQL; [Exceptions about this client](https://github.com/sqlectron/sqlectron-core/releases/tag/v6.3.0))\n* [SQLite](https://sqlite.org/)\n\nDo you want to support another SQL database? Please follow [these steps](/CONTRIBUTING.md#adding-a-new-client).\n\n## Installation\n\nInstall via npm:\n\n```bash\n$ npm install sqlectron-core --save\n```\n\n## Configuration\n\nSQLECTRON keeps a configuration file in the directory\n\n* **MacOS:** `~/Library/Preferences/Sqlectron`\n* **Linux** (`$XDG_CONFIG_HOME` or `~/.config`) + `/Sqlectron`\n* **Windows** (`$LOCALAPPDATA` or `%USERPROFILE%\\AppData\\Local`) + `\\Sqlectron\\Config`\n\n> For older versions it was stored as `.sqlectron.json` at the user's home directory (`~/` osx and linux; `%userprofile%` windows ).\n\nAlthough you can change this file manually, most of time you should not worry about it because SQLECTRON will manage the configuration for you.\n\n**Example**\n\n```json\n{\n  \"resultItemsPerPage\": 50,\n  \"limitQueryDefaultSelectTop\": 100,\n  \"servers\": [\n    {\n      \"id\": \"c48890d8-5d87-4085-8b22-94981f8d522c\",\n      \"name\": \"pg-vm-ssh\",\n      \"client\": \"postgresql\",\n      \"host\": \"localhost\",\n      \"port\": 5432,\n      \"user\": \"user\",\n      \"password\": \"password\",\n      \"database\": \"company\",\n      \"ssh\": {\n        \"host\": \"10.10.10.10\",\n        \"port\": 22,\n        \"privateKey\": \"~/.vagrant.d/insecure_private_key\",\n        \"user\": \"core\"\n      }\n    },\n    {\n      \"id\": \"0f6536a1-c232-4515-942a-c0fb56d362b2\",\n      \"name\": \"vm-ssh\",\n      \"client\": \"mysql\",\n      \"host\": \"localhost\",\n      \"port\": 3306,\n      \"user\": \"root\",\n      \"password\": \"password\",\n      \"database\": \"authentication\"\n    }\n  ]\n}\n```\n\n### Fields\n\n#### resultItemsPerPage\n\nThe limit of items per page *`(default on sqlectron-gui: 100)`*\nThe paging is not done in SQL query. Instead its is done during the results rendering.\n\n#### limitQueryDefaultSelectTop\n\nThe limit used in the default query *`(default: 1000)`*\n\n#### servers\n\nArray with all servers connection.\n\n- `id`: in case including a new server manually there is no need setting an id field because SQLECTRON will do it for you\n- `name`\n- `client`: `postgresql`, `mysql` or `sqlserver`\n- `host`\n- `port`\n- `user`\n- `password`\n- `database`\n- `ssh`\n  - `host`\n  - `user`\n  - `port`\n  - `privateKey`\n  - `privateKeyWithPassphrase`\n\n\n\n## Contributing\n\nPlease check out it [here](/CONTRIBUTING.md).\n\n## License\n\nCopyright (c) 2015 The SQLECTRON Team. This software is licensed under the [MIT License](http://raw.github.com/sqlectron/sqlectron-core/master/LICENSE).\n","readmeFilename":"README.md"}