
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.