moinism / chotadb Goto Github PK
View Code? Open in Web Editor NEWA wrapper over window.localStorage to turn it into a No-SQL DB.
Home Page: https://chotadb.moin.im
License: MIT License
A wrapper over window.localStorage to turn it into a No-SQL DB.
Home Page: https://chotadb.moin.im
License: MIT License
Hi the docs don't reflect most of the functions in ChotaDb
It needs to be updated with examples as well
As there is no window.localStorage
available to node, we'll have to use a dependency. Until then, not working.
Hi
I was wondering how I could extend chotaDb prototype to add custom functions
thanks
forEach
is only accessing odd entries from array. But this happens when called all.remove()
. When called find().remove()
, it works fine.
Chrome exposes chrome.storage.local
and chrome.storage.sync
to extensions and apps. So we'll have to use that instead of localStorage
.
I noticed in the source of ChotaDb some polyfills.
I want to suggest you provide a separate polyfill file so we only include with projects requiring older browsers support. Furthermore, existing projects may already have those polyfills, as such including them again will only increase project file size.
You can then mention in the documentation which polyfills are required
thanks
Although there it should work in electron out of the box, it isn't. localStorage
is verified to be available on client-side.
Hi, i get errors when including chotadb in my webpack build.
Specifically due to this line 827, in chotadb src:
_adoptor = require('node-persist');
its in the NodeJS support section.
Can you resolve this
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.