{"id":19603111,"url":"https://github.com/tarantinoarchive/databasetify","last_synced_at":"2026-04-14T19:32:47.548Z","repository":{"id":57211484,"uuid":"302599926","full_name":"TarantinoArchive/databasetify","owner":"TarantinoArchive","description":"A new, easier way to database","archived":false,"fork":false,"pushed_at":"2020-10-28T12:44:29.000Z","size":46,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-14T12:02:42.402Z","etag":null,"topics":["database","db","easy","javascript","js","json","lightweight","node","simple"],"latest_commit_sha":null,"homepage":"https://gianlucatarantino.github.io/databasetify","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TarantinoArchive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-09T09:51:17.000Z","updated_at":"2021-02-13T10:06:06.000Z","dependencies_parsed_at":"2022-08-30T12:30:12.707Z","dependency_job_id":null,"html_url":"https://github.com/TarantinoArchive/databasetify","commit_stats":null,"previous_names":["gianlucatarantino/databasetify"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TarantinoArchive%2Fdatabasetify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TarantinoArchive%2Fdatabasetify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TarantinoArchive%2Fdatabasetify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TarantinoArchive%2Fdatabasetify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TarantinoArchive","download_url":"https://codeload.github.com/TarantinoArchive/databasetify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240886672,"owners_count":19873528,"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":["database","db","easy","javascript","js","json","lightweight","node","simple"],"created_at":"2024-11-11T09:28:08.154Z","updated_at":"2026-03-07T02:10:15.484Z","avatar_url":"https://github.com/TarantinoArchive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Databasetify\nA new, easier way to database\n\n![GitHub package.json version](https://img.shields.io/github/package-json/v/GianlucaTarantino/databasetify?style=flat-square) ![GitHub](https://img.shields.io/github/license/GianlucaTarantino/databasetify?style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/min/databasetify?style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/databasetify?style=flat-square) ![GitHub All Releases](https://img.shields.io/github/downloads/GianlucaTarantino/databasetify/total?style=flat-square)\n- [Description](#managing-data-has-never-been-so-easy)\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [Support](#support)\n- [License](#license)\n\n## Managing data has never been so easy\nWith Databasetify, you can have a easier alternative to all those hard things like SQL. Transform a simple JSON file in a database-like document. Add, modify and analyze data with just the help of this cool thing called Javascript. Open a database directly in your code and use it with normal functions, without writing any query. It's very good for beginners and people that want to try something new and simple.\nThis is not, obviously, as powerful as an SQL database, but it is very lightweight (0 NPM dependencies!) and very simple!\n\n## Features\n- Very lightweight\n- Easy install\n- Simple usage\n- As fast as JS-possible\n- Totally open source (contribute!)\n\n## Installation\n\nYou can use NPM to install Databasetify (if you want to manage your databasetify databases in a simpler way, install it globally)\n```bash\n# Install locally, for one project\nnpm install databasetify\n# Install globally, system wide\nnpm install -g databasetify\n```\n\n## Usage\nDatabasetify is very simple. You can use it with simple JSONs and with Databasetify-valid JSONs. For more informations, check the [documentation](https://github.com/GianlucaTarantino/databasetify/blob/main/documentation.md).\n\n```javascript\nconst databasetify = require(\"databasetify\");\nconst db = new databasetify.Databasetify(\"path/to/db.json\", 1)\n\ndb.addTable(\"Users\", [{\"name\": \"Name\"}, {\"name\": \"Surname\"}]);\ndb.insert(\"Users\", \"0001\", {\"name\": \"John\", \"Surname\": \"Smith\"})\n\n// Thiw will return \"Smith\"\ndb.get(\"Users\", \"0001\", \"Surname\");\n// This will return the first value that has an h in the Surname field\ndb.find(\"Users\", (value, key, column, counter) =\u003e {\n    return (value.includes(\"h\") \u0026\u0026 column == \"Surname\")\n})\n// Same as before, but will return an array with all the values and informations about the values\ndb.findAll(\"Users\", (value, key, column, counter) =\u003e {\n    return (value.includes(\"h\") \u0026\u0026 column == \"Surname\")\n})\n```\nCan I quickly add a table or modify something in a database, without having to execute that in a JS file? Well, yes! Simply open the Node terminal console and write what you would have written in the file!\n```javascript\nconst databasetify = require(\"databasetify\");\nconst db = new databasetify.Databasetify(\"path/to/db.json\", 1)\ndb.addTable(\"Users\", [{\"name\": \"Name\"}, {\"name\": \"Surname\"}]);\n```\n\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. There is already a template for pull requests and issues.\n\n## Support\nFor any problem regarding Databasetify, you can always open an issue! If you want to contact me, feel free to write me at gianlutara@gmail.com\n\n# License\n\n[MIT](https://github.com/GianlucaTarantino/databasetify/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantinoarchive%2Fdatabasetify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarantinoarchive%2Fdatabasetify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantinoarchive%2Fdatabasetify/lists"}