{"id":19793254,"url":"https://github.com/zguillez/z-toolz","last_synced_at":"2026-05-14T04:41:49.583Z","repository":{"id":41203552,"uuid":"119094345","full_name":"zguillez/z-toolz","owner":"zguillez","description":"Tools for NodeJS development","archived":false,"fork":false,"pushed_at":"2023-01-08T22:57:25.000Z","size":911,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-29T22:46:34.195Z","etag":null,"topics":["backend","developer-tools","development","javascript","nodejs","tools"],"latest_commit_sha":null,"homepage":"https://zguillez.tools/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zguillez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-26T19:31:29.000Z","updated_at":"2021-10-13T10:48:48.000Z","dependencies_parsed_at":"2023-02-08T07:45:26.911Z","dependency_job_id":null,"html_url":"https://github.com/zguillez/z-toolz","commit_stats":null,"previous_names":["zguillez/z-tools"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zguillez%2Fz-toolz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zguillez%2Fz-toolz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zguillez%2Fz-toolz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zguillez%2Fz-toolz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zguillez","download_url":"https://codeload.github.com/zguillez/z-toolz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241133107,"owners_count":19915338,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","developer-tools","development","javascript","nodejs","tools"],"created_at":"2024-11-12T07:09:19.532Z","updated_at":"2026-05-14T04:41:44.534Z","avatar_url":"https://github.com/zguillez.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# z-toolz\n\n[![npm version](https://badge.fury.io/js/z-toolz.svg)](https://badge.fury.io/js/z-toolz)\n[![Build Status](https://travis-ci.org/zguillez/z-toolz.svg?branch=master)](https://travis-ci.org/zguillez/z-toolz)\n[![Installs](https://img.shields.io/npm/dt/z-toolz.svg)](https://coveralls.io/r/zguillez/z-toolz)\n[![Gitter](https://badges.gitter.im/zguillez/z-toolz.svg)](https://gitter.im/zguillez/z-toolz?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n\u003e [Zguillez](https://zguillez.io) | Guillermo de la Iglesia\n\n## Tools for NodeJS development\n\n# Getting Started\n## Install\n```\nnpm i @zguillez/z-toolz --save-dev\nyarn add @zguillez/z-toolz --dev\n```\n\n# Usage\n```\nconst ztoolz = require('z-toolz');\n```\n\n# CLI Usage\n```\n\"scripts\": {\n    \"test\": \"ztoolz\"\n  }\n```\n\n## Update package version\n```\nztoolz.version();\nztoolz.version('minor');\nztoolz.version('major');\n```\n```\nztoolz --version\nztoolz --version --minor\nztoolz --version --major\n```\n\n## DataBase query\nDatabase configuration file: ```.zconfig```\n```\n{\n  \"database\": {\n    \"host\": \"\",\n    \"username\": \"\",\n    \"password\": \"\",\n    \"database\": \"\"\n  }\n}\n```\n\n```\nztoolz.database('SELECT * FROM table');\nztoolz.database(['SELECT * FROM table1', 'SELECT * FROM table2'], true);\n```\n\n```\nztoolz.database('SELECT * FROM table', false).then((data) =\u003e {\n  console.log(data);\n  });\n});\n```\n\n# Contributing and issues\nContributors are welcome, please fork and send pull requests! If you have any ideas on how to make this project better then please submit an issue or send me an [email](mailto:mail@zguillez.io).\n\n# License\n©2018 Zguillez.io\n\nOriginal code licensed under [MIT](https://en.wikipedia.org/wiki/MIT_License) Open Source projects used within this project retain their original licenses.\n\n# Changelog\n\n### v0.2.0 (November 20, 2018)\n* Database module\n\n### v0.1.0 (January 26, 2018)\n* Initial commit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzguillez%2Fz-toolz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzguillez%2Fz-toolz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzguillez%2Fz-toolz/lists"}