{"id":14970895,"url":"https://github.com/nodeclient/mira-db","last_synced_at":"2025-10-26T13:31:36.738Z","repository":{"id":57298236,"uuid":"142043605","full_name":"Nodeclient/Mira-DB","owner":"Nodeclient","description":"Mira-DB (JSDB) Database","archived":false,"fork":false,"pushed_at":"2021-12-06T20:30:03.000Z","size":113881,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-10-11T04:42:15.895Z","etag":null,"topics":["connector","database","javascript","jsdb","mira-db","mira-query","miradb","node-js","nodejs","nodejs-database","nosql","nosql-database"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/Nodeclient.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":"miradb","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2018-07-23T16:57:50.000Z","updated_at":"2021-12-06T20:30:07.000Z","dependencies_parsed_at":"2022-09-06T03:31:44.624Z","dependency_job_id":null,"html_url":"https://github.com/Nodeclient/Mira-DB","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nodeclient%2FMira-DB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nodeclient%2FMira-DB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nodeclient%2FMira-DB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nodeclient%2FMira-DB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nodeclient","download_url":"https://codeload.github.com/Nodeclient/Mira-DB/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219862885,"owners_count":16555951,"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":["connector","database","javascript","jsdb","mira-db","mira-query","miradb","node-js","nodejs","nodejs-database","nosql","nosql-database"],"created_at":"2024-09-24T13:44:18.985Z","updated_at":"2025-10-26T13:31:36.049Z","avatar_url":"https://github.com/Nodeclient.png","language":"JavaScript","readme":"\n# MIRA-DB ``v2.0`` ready for public test \n\n### ``https://github.com/Nodeclient/mira-db2``\n---\n\n\n\n## MIRA-DB\n[![NPM version][npm-image]][npm-url]\n![npm](https://img.shields.io/npm/dt/mira-db)\n[![Try mira-db on RunKit](https://badge.runkitcdn.com/mira-db.svg)](https://npm.runkit.com/mira-db)\n[![Known Vulnerabilities](https://snyk.io/test/npm/mira-db/badge.svg)](https://snyk.io/test/npm/mira-db)\n![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)\n\nMiraDB is open source javascript object oriented database\n## INSTALL (NPM)\n``npm i mira-db``\n\n## Help documentation\n* [DOCUMENTS][df9]\n\n## Releases \u0026 download\n* [MIRADB BINARY][df15]\n* [SIMPLE WEB ADMIN DOC][df14] \n\n **Update your web-admin** - v1.0.2!\n[DOWNLOAD][df13]\n\n\n----\n### --\n \u003e Mira-db is a non-relational database\n \n \u003e Stored, table are a binary encrypted JSON files.\n \n \u003e You can restrict each user's table and database , also has access to nine (boolean) types of permission for a table.\n \n \u003e Mira query is a contain matches to regular expressions syntax but very similar to mysql structure and of course very simple for developers to learn and use.\n\n \u003e Mira-db is supporting cross-application. (also you can reach many samples on the github page about this)\n \n \u003e You can easy management your own databases with web interface.\n \n----\n\n## Mira-query list\n```bash\n    UNIQUE COLUMN \u003cCOLUMN_NAME\u003e TABLE \u003cTABLE_NAME\u003e\n    SELECT TABLE \u003cTABLE_NAME\u003e\n    SELECT TABLE \u003cTABLE_NAME\u003e COUNT\n    SELECT TABLE \u003cTABLE_NAME\u003e COLUMN [\"COL1\"]\n    SELECT TABLE \u003cTABLE_NAME\u003e LIMIT [\"1\",\"5\"]\n    SELECT TABLE \u003cTABLE_NAME\u003e COLUMN [\"COL1\"] FIND [\"SEARCH_STRING\"]\n    SELECT TABLE \u003cTABLE_NAME\u003e COLUMN [\"COL1\"] FIND [\"SEARCH_STRING\"] LIKE\n    UPDATE ROW \u003cTABLE_NAME\u003e COLUMN [\"COL1\",\"COL2\",..] VALUE [\"VAL1\",\"VAL2\"] FIND [\"COL1\",\"SEARCH_STRING\"]\n    ADD ROW \u003cTABLE_NAME\u003e COLUMN [\"COL1\",\"COL2\",\"COL3\"] VALUE [\"VAL1\",\"VAL2\",\"VAL3\"]\n    ADD COLUMN [\"COL1\",\"COL2\",\"COL3\"] TABLE \u003cTABLE_NAME\u003e\n    RENAME TABLE [\"TABLE\"] VALUE [\"NEW_NAME\"]\n    RENAME DATABASE [\"DATABASE_NAME\"] VALUE [\"NEW_NAME\"]\n    RENAME COLUMN [\"COL1\",\"COL2\",..] TABLE \u003cTABLE_NAME\u003e VALUE [\"NEW_1\",\"NEW_2\"]\n    DELETE COLUMN [\"COL1\",\"COL2\",..] TABLE \u003cTABLE_NAME\u003e\n    DELETE ROW \u003cTABLE_NAME\u003e COLUMN \u003cCOLUMN_NAME\u003e VALUE [\"STRING\"]\n    DELETE ROW \u003cTABLE_NAME\u003e INDEX \u003cINDEX_NUMBER\u003e\n    CREATE TABLE \u003cTABLE_NAME\u003e COLUMN [\"COL1\",\"COL2\",\"COL3\"] VALUE [\"VAL1\",\"VAL2\",\"VAL3\"]\n    CREATE DATABASE \u003cDATABASE_NAME\u003e\n    DROP DATABASE \u003cDATABASE_NAME\u003e\n    DROP TABLE \u003cTABLE_NAME\u003e\n    LIST DATABASE\n    LIST TABLE \u003cDATABASE_NAME\u003e\n```\n\n## Sample : \"local-database.js\"\n\n```js\n    /* MIRA-DB GLOBAL SETTINGS (NEW) */\n     process.env.SET_LANG=\"en_us\"; //Language setting\n    /* important! if you change the token , \n        you can't reading or writing data from by default (mira-db) database's */\n     process.env.MIRA_DB_TOKEN=\"E4WXqn_IotaTPN6E\"; //Database encryption token (Default Token)\n     process.env.SET_FILE_HEADER=\"JQL1\"; //File header\n     process.env.SET_FILE_EXTENSION=\"jsq\"; //File extension (Do not use the dot)\n    \n    /* IMPORT MODULE */\n    const mira = require(\"mira-db\");\n    \n    /* PERMISSION */\n    var Perms = { \n      SELECT:true,\n      ADD:true,\n      UNIQUE:true,\n      UPDATE:true,\n      RENAME:true,\n      DROP:true,\n      DELETE:true,\n      CREATE:true,\n      LIST:true }\n      \n    /* STORAGE FOLDER */\n    var Storage = __dirname + \"/data\";\n    /* DATABASE NAME */\n    var DB = \"test\";\n    /* CREATE A NEW MIRA OBJECT */\n    var new_database = new mira(Storage,DB,Perms,\"UTF-8\");\n    /* MIRA-QUERY */\n    var query = 'SELECT TABLE person'\n```\n\n```js   \n    /* SAMPLE (RETURN) */\n    var result = new_database.Query(query);  \n    console.log(  result );\n```\n```js     \n    /* SAMPLE (CALLBACK) */\n    new_database.Query(query ,function(result){\n      console.log(  result );\n    });           \n```\n\n## Connector | open-source (zip archive)\n* [CONNECTORS][df1]\n\n## Clients | open-source (zip archive)\n* [CLIENTS][df2]\n\n\n## License MIT\n\nCopyright (c) 2018 , https://github.com/Nodeclient/\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n   [df142]: \u003chttps://github.com/Nodeclient/Mira-DB/blob/master/language/readme.md\u003e\n   [df141]: \u003chttps://github.com/Nodeclient/Mira-DB/blob/master/language/sample.json\u003e\n   [df200]: \u003chttps://github.com/Nodeclient/Mira-DB/releases\u003e\n   [df2]: \u003chttps://git.io/fpQur\u003e\n   [df1]: \u003chttps://git.io/fpQua\u003e\n   [df15]: \u003chttps://git.io/fpabN\u003e\n   [df13]: \u003chttps://github.com/Nodeclient/Mira-DB/releases/download/webadmin/public_web_admin_102.tar.gz\u003e\n   [df14]: \u003chttps://nodeclient.github.io/helpdocs/#simple-admin-section\u003e\n   [df9]: \u003chttps://nodeclient.github.io/helpdocs/\u003e\n\n   [npm-image]: https://img.shields.io/npm/v/mira-db.svg?style=flat\n   [npm-url]: https://npmjs.org/package/mira-db\n   [downloads-image]: https://img.shields.io/npm/dm/mira-db.svg?style=flat\n   [downloads-url]: https://npmjs.org/package/mira-db\n","funding_links":["https://patreon.com/miradb"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodeclient%2Fmira-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodeclient%2Fmira-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodeclient%2Fmira-db/lists"}