
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@firecms/data_import
Advanced tools
This plugin enables importing data into Firestore collections directly from your FireCMS interface. It adds an import button to collection views, providing a simple way to bulk add or update data from CSV or JSON files.
npm install @firecms/data_import
# or
yarn add @firecms/data_import
import React from "react";
import { FireCMS } from "@firecms/core";
import { useImportPlugin } from "@firecms/data_import";
export default function App() {
// Basic setup with default options
const importPlugin = useImportPlugin();
return <FireCMS
name={"My Online Shop"}
plugins={[importPlugin]}
authentication={myAuthenticator}
collections={myCollections}
firebaseConfig={firebaseConfig}
/>;
}
You can customize the import behavior with these options:
const importPlugin = useImportPlugin({
// Track import events
onAnalyticsEvent: (event, params) => {
console.log("Import event:", event, params);
// Example events: "import_started", "import_completed", "import_error"
}
});
Option | Type | Description |
---|---|---|
onAnalyticsEvent | (event: string, params?: any) => void | Callback for tracking import events |
For a complete data management solution, use both import and export plugins together:
import { useImportPlugin } from "@firecms/data_import";
import { useExportPlugin } from "@firecms/data_export";
// Set up both plugins
const importPlugin = useImportPlugin();
const exportPlugin = useExportPlugin();
// Add both to your FireCMS app
return (
<FireCMS
// ...other props
plugins={[importPlugin, exportPlugin]}
>
{/* ... */}
</FireCMS>
);
FAQs
Unknown package
The npm package @firecms/data_import receives a total of 217 weekly downloads. As such, @firecms/data_import popularity was classified as not popular.
We found that @firecms/data_import demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.