I am looking for a javascript lib that lives on top of localstorage
that supports like
queries.
This in itself would be ea开发者_Python百科sy to write, but I wouldn't want to reinvent the wheel.
What localstorage libs do people use?
If you want an SQL interface in JavaScript, use the Web SQL Database API. I think most browsers support this.
If you want an object database interface, use Lawnchair. This doesn't have a like
query, but you could store an object that has an index and use that to query.
精彩评论