{"_id":"@moocar/lokijs","_rev":"293495","name":"@moocar/lokijs","description":"Fast document oriented javascript in-memory database","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"moocar","email":"anthony@moocar.me"}],"time":{"modified":"2021-06-03T18:54:10.000Z","created":"2018-11-14T08:06:29.929Z","1.0.1":"2018-11-21T04:00:17.186Z","1.0.0":"2018-11-14T08:06:29.929Z"},"users":{},"author":{"name":"Joe Minichino","email":"joe.minichino@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/Moocar/LokiJS.git"},"versions":{"1.0.1":{"name":"@moocar/lokijs","version":"1.0.1","description":"Fast document oriented javascript in-memory database","homepage":"http://lokijs.org","main":"src/lokijs.js","directories":{"example":"examples"},"repository":{"type":"git","url":"git+https://github.com/Moocar/LokiJS.git"},"keywords":["javascript","document-oriented","mmdb","json","nosql","lokijs","in-memory"],"scripts":{"lint":"jshint src","test:browser":"karma start karma.conf.js --single-run","test:node":"istanbul cover --dir coverage/nodejs node_modules/jasmine/bin/jasmine.js","pretest":"npm run lint","test":"npm run test:browser && npm run test:node","build:lokijs":"uglifyjs src/lokijs.js > build/lokijs.min.js","build:indexedAdapter":"uglifyjs src/loki-indexed-adapter.js > build/loki-indexed-adapter.min.js","build":"npm run build:lokijs && npm run build:indexedAdapter","postbuild":"karma start karma.build.conf.js --single-run","prepublish":"npm run build","clean":"rimraf build/* coverage/* node_modules","pour:beer":"echo New npm version published, one beer for you !","jsdoc":"jsdoc -c jsdoc-conf.json","benchmark":"node benchmark/benchmark"},"author":{"name":"Joe Minichino","email":"joe.minichino@gmail.com"},"contributors":[{"name":"Dave","email":"github@obeliskos.com"}],"license":"MIT","bugs":{"url":"https://github.com/techfort/LokiJS/issues"},"dependencies":{},"devDependencies":{"istanbul":"^0.4.4","jasmine":"^2.4.1","jsdoc":"^3.5.5","jshint":"^2.9.2","karma":"^1.1.2","karma-cli":"^1.0.1","karma-coverage":"^1.1.1","karma-jasmine":"^1.0.2","karma-phantomjs-launcher":"^1.0.1","mocha":"^2.5.3","phantomjs":"^1.9.20","rimraf":"^2.5.4","should":"^4.6.5","uglify-js":"^2.7.0"},"gitHead":"34ccc9637d7a895c407e26332c43502569b1240a","_id":"@moocar/lokijs@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"moocar","email":"anthony@moocar.me"},"dist":{"shasum":"545227c173030dd0e6b1e6bdcef528012a6c325c","size":100729,"noattachment":false,"key":"/@moocar/lokijs/-/@moocar/lokijs-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@moocar/lokijs/download/@moocar/lokijs-1.0.1.tgz"},"maintainers":[{"name":"moocar","email":"anthony@moocar.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lokijs_1.0.1_1542772817040_0.6518807652298457"},"_hasShrinkwrap":false,"publish_time":1542772817186,"_cnpm_publish_time":1542772817186},"1.0.0":{"name":"@moocar/lokijs","version":"1.0.0","description":"Fast document oriented javascript in-memory database","homepage":"http://lokijs.org","main":"src/lokijs.js","directories":{"example":"examples"},"repository":{"type":"git","url":"git+https://github.com/Moocar/LokiJS.git"},"keywords":["javascript","document-oriented","mmdb","json","nosql","lokijs","in-memory"],"scripts":{"lint":"jshint src","test:browser":"karma start karma.conf.js --single-run","test:node":"istanbul cover --dir coverage/nodejs node_modules/jasmine/bin/jasmine.js","pretest":"npm run lint","test":"npm run test:browser && npm run test:node","build:lokijs":"uglifyjs src/lokijs.js > build/lokijs.min.js","build:indexedAdapter":"uglifyjs src/loki-indexed-adapter.js > build/loki-indexed-adapter.min.js","build":"npm run build:lokijs && npm run build:indexedAdapter","postbuild":"karma start karma.build.conf.js --single-run","prepublish":"npm run build","clean":"rimraf build/* coverage/* node_modules","pour:beer":"echo New npm version published, one beer for you !","jsdoc":"jsdoc -c jsdoc-conf.json","benchmark":"node benchmark/benchmark"},"author":{"name":"Joe Minichino","email":"joe.minichino@gmail.com"},"contributors":[{"name":"Dave","email":"github@obeliskos.com"}],"license":"MIT","bugs":{"url":"https://github.com/techfort/LokiJS/issues"},"dependencies":{},"devDependencies":{"istanbul":"^0.4.4","jasmine":"^2.4.1","jsdoc":"^3.5.5","jshint":"^2.9.2","karma":"^1.1.2","karma-cli":"^1.0.1","karma-coverage":"^1.1.1","karma-jasmine":"^1.0.2","karma-phantomjs-launcher":"^1.0.1","mocha":"^2.5.3","phantomjs":"^1.9.20","rimraf":"^2.5.4","should":"^4.6.5","uglify-js":"^2.7.0"},"gitHead":"b8694dfeb44e02dec0eab798092ea87e163adf06","_id":"@moocar/lokijs@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"moocar","email":"anthony@moocar.me"},"dist":{"shasum":"68c7ade342daf2b32dcbc712b683d8a5fd49a206","size":155997,"noattachment":false,"key":"/@moocar/lokijs/-/@moocar/lokijs-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@moocar/lokijs/download/@moocar/lokijs-1.0.0.tgz"},"maintainers":[{"name":"moocar","email":"anthony@moocar.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lokijs_1.0.0_1542182789788_0.4483111335663579"},"_hasShrinkwrap":false,"publish_time":1542182789929,"_cnpm_publish_time":1542182789929}},"readme":"# LokiJS\n\n[![Join the chat at https://gitter.im/techfort/LokiJS](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/techfort/LokiJS?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n![alt CI-badge](https://travis-ci.org/techfort/LokiJS.svg?branch=master)\n[![npm version](https://badge.fury.io/js/lokijs.svg)](http://badge.fury.io/js/lokijs)\n[![alt packagequality](http://npm.packagequality.com/shield/lokijs.svg)](http://packagequality.com/#?package=lokijs)\n\n## Overview\n\nLokiJS is a document oriented database written in javascript, published under MIT License.\nIts purpose is to store javascript objects as documents in a nosql fashion and retrieve them with a similar mechanism.\nRuns in node (including cordova/phonegap and node-webkit),  [nativescript](http://www.nativescript.org) and the browser.\nLokiJS is ideal for the following scenarios: \n\n1. client-side in-memory db is ideal (e.g., a session store)\n2. performance critical applications\n3. cordova/phonegap mobile apps where you can leverage the power of javascript and avoid interacting with native databases\n4. data sets loaded into a browser page and synchronised at the end of the work session\n5. node-webkit desktop apps\n6. nativescript mobile apps that mix the power and ubiquity of javascript with native performance and ui\n\nLokiJS supports indexing and views and achieves high-performance through maintaining unique and binary indexes (indices) for data.\n\n## Demo\n\nThe following demos are available:\n- [Sandbox / Playground](https://rawgit.com/techfort/LokiJS/master/examples/sandbox/LokiSandbox.htm)\n- a node-webkit small demo in the folder demos/desktop_app. You can launch it by running `/path/to/nw demos/desktop_app/`\n\n## Wiki\n\nExample usage can be found on the [wiki](https://github.com/techfort/LokiJS/wiki)\n\n## Main Features\n\n1. Fast performance NoSQL in-memory database, collections with unique index (1.1M ops/s) and binary-index (500k ops/s)\n2. Runs in multiple environments (browser, node, nativescript)\n3. Dynamic Views for fast access of data subsets\n4. Built-in persistence adapters, and the ability to support user-defined ones\n5. Changes API\n6. Joins\n\n## Current state\n\nLokiJS is at version 1.3 [Eostre].\n\nAs LokiJS is written in JavaScript it can be run on any environment supporting JavaScript such as browsers, node.js/node-webkit, nativescript mobile framework and hybrid mobile apps (such as phonegap/cordova).\n\nMade by [@techfort](http://twitter.com/tech_fort), with the precious help of Dave Easterday. \n\n_[Leave a tip](https://gratipay.com/techfort/) or give us a star if you find LokiJS useful!_\n\n## Installation\n\nFor browser environments you simply need the lokijs.js file contained in src/\n\nYou can use bower to install lokijs with `bower install lokijs`\n\nFor node and nativescript environments you can install through `npm install lokijs`.\n\n## Roadmap\n\n* exactIndex\n* key-value datastore\n* MRU cache\n* MongoDB API compatibility\n* server standalone (tcp and http servers and clients)\n* replication and horizontal scaling\n\n## Contact\n\nFor help / enquiries contact joe.minichino@gmail.com\n\n## Commercial Support\n\nFor commercial support contact info.techfort@gmail.com\n\n## License\n\nCopyright (c) 2015 TechFort <joe.minichino@gmail.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n","_attachments":{},"homepage":"http://lokijs.org","bugs":{"url":"https://github.com/techfort/LokiJS/issues"},"license":"MIT"}