
Security News
NIST Officially Stops Enriching Most CVEs as Vulnerability Volume Skyrockets
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.
The Filtex library is a versatile tool designed to filtering data across various sources like PostgreSQL, MongoDB, and in-memory datasets. This library empowers developers to create complex queries using both JSON and text formats, generating expressions
The Filtex library is a versatile tool designed to filtering data across various sources like PostgreSQL, MongoDB, and in-memory datasets. This library empowers developers to create complex queries using both JSON and text formats, generating expressions compatible with the target data sources.
It allows to configure your dataset with some options and provides a metadata model to be able to use in UI components and then it accepts the query that is generated by UI and generates query for data sources like Postgres, Mongo etc.
Check the packages for other platforms.
npm install filtex-ui
const [themes, setThemes] = useState([]);
const [theme, setTheme] = useState('dark');
const [modes, setModes] = useState(['text', 'tree']);
const [mode, setMode] = useState('text');
const [value, setValue] = useState(null);
const [metadata, setMetadata] = useState(null);
const [data, setData] = useState([]);
// Fetch metadata model from backend
useEffect(() => {
const data = await fetch('/metadata');
setMetadata(data);
}, []);
// Send query to backend
const handleSubmit = (value) => {
const data = await fetch('/filter?query=' + value.text);
setData(data);
};
import { Filtex } from 'filtex-ui';
<Filtex
metadata={metadata}
themes={themes}
theme={theme}
modes={modes}
mode={mode}
hideMenuButton={false}
hideSubmitButton={false}
hideResetButton={false}
hideSwitchButton={false}
autoSubmitEnabled={true}
value={value}
onSubmit={handleSubmit} />
{JSON.stringify(data, null, 4)}
This library is licensed under the MIT License.
FAQs
The Filtex library is a versatile tool designed to filtering data across various sources like PostgreSQL, MongoDB, and in-memory datasets. This library empowers developers to create complex queries using both JSON and text formats, generating expressions
The npm package filtex-ui receives a total of 1 weekly downloads. As such, filtex-ui popularity was classified as not popular.
We found that filtex-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.