New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

backendless-where-clause-monitor

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backendless-where-clause-monitor

Backendless Where Clause Monitor

  • 1.3.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-60%
Maintainers
2
Weekly downloads
 
Created
Source

Backendless WhereCaluse Monitor

Install:

Add to your project in package.json this dependency:

"dependencies": {
  ...
    "backendless-where-clause-monitor": "git+ssh://git@gitlab.backendless.com:backendless/where-clause-monitor.git"
  ...  
}

Usage:

ES 6 import
import createWhereClauseMonitor from 'backendless-where-clause-monitor'

Common Import
const createWhereClauseMonitor = require('backendless-where-clause-monitor')

Example
const whereClause = "foo = 'bar' and age > 25 "

const whereClauseMonitor = createWhereClauseMonitor(whereClause)
whereClauseMonitor({ foo: 'bar', age: 123 }) => true
whereClauseMonitor({ foo: 'bar', age: 123, bar: 'string' }) => true
whereClauseMonitor({ foo: 'bar' }) => false
whereClauseMonitor({ age: 123 }) => false
whereClauseMonitor({ foo: 'bar2', age: 123 }) => false
whereClauseMonitor({ foo: 'bar', age: 10 }) => false

Tests

npm test

FAQs

Package last updated on 02 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc