Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

joy-query-box

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

joy-query-box

A react-text-box component which will transform simple expression as free-text to object ![Example](/assets/simple-query-example.png)

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
50
increased by38.89%
Maintainers
1
Weekly downloads
 
Created
Source

joy-query-box

A react-text-box component which will transform simple expression as free-text to object Example

Operators

OperatorMeaningProperty Name
=Equal$eq
>Greater than$gt
>=Greater than or equal$gte
<Less than$lt
<=Less than or equal$lte
%=Like$like
@=Contains$contains
$=StartWith$startWith
&And$and
``Or

Keywords

KeywordMeaningProperty Name
likeLike$like
startwithStart With$startWith
containsContains$contains

NPM Install & use

npm i joy-query-box

import QueryBox from 'joy-query-box';
...
<QueryBox
    autoFocus
    label="Simple query"
    placeholder="type condition here"
    onSearch={this.handleOnSeach}
    queryText={"defaultText = 'a text value'"}
/>

Run demo

  1. git clone https://github.com/TamVoMinh/joy-query-box.git
  2. cd joy-query-box & npm install
  3. npm start

Build component

  • npm build:component

FAQs

Package last updated on 17 Apr 2019

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