Socket
Socket
Sign inDemoInstall

alopex

Package Overview
Dependencies
183
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.5 to 1.1.7

.github/workflows/coveralls.yml

6

package.json
{
"name": "alopex",
"version": "1.1.5",
"version": "1.1.7",
"description": "Databases for lazy people.",

@@ -36,4 +36,4 @@ "main": "index.js",

"dependencies": {
"sqlite-async": "^1.0.12",
"sqlite3": "^4.1.1"
"sqlite3": "4.1.1",
"sqlite-async": "^1.0.12"
},

@@ -40,0 +40,0 @@ "devDependencies": {

[![Build status](https://travis-ci.com/GerbenAaltink/alopex.svg?branch=master)](https://travis-ci.com/GerbenAaltink/alopex)
![Node.js CI](https://github.com/GerbenAaltink/alopex/workflows/Node.js%20CI/badge.svg)
This libary is the NodeJS version of my favorite python module: https://dataset.readthedocs.io/en/latest/
Easy to use data store. Can be used for persistent data in a sqlite file or just blazing fast in memory.
Features on top of the original library:
- filtering by __like or __gt like in Django ORM
- limit fields you want to have returned while fetching data
Features:
- insert
- update
- upsert
- delete
- count
- find
- findOne
- automatic index creation
- manual index creation
- persistent storage
- memory storage
- easy filtering while fetching data like in Django ORM
- fetching specific fields by providing an array with column names
Missing features:
- only support for SQLITE. Original library supports more
This libary is the NodeJS version of my favorite python module: https://dataset.readthedocs.io/en/latest/

@@ -124,3 +134,3 @@ Try it out on: https://npm.runkit.com/alopex

```
dataSet.find(null, 'z': 1, 'y__eq': 2})
dataSet.find('z': 1, 'y__eq': 2})
```

@@ -127,0 +137,0 @@ will create index `idx_y_z`.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc