
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
@vlsergey/react-bootstrap-csv-export
Advanced tools
Ready to use CSV exporter components with settings form and progress indicator
Ready-to-use components to export data as CSV. Provides not only core TypeScript functions, but also react-bootstrap form components that can be directly used in application.
Main features:
Online demo: HERE
npm install --save @vlsergey/react-bootstrap-csv-export
or
npm install --save-dev @vlsergey/react-bootstrap-csv-export
To include export-to-csv form to modal window or distinct page:
import Container from 'react-bootstrap/Container';
import {ExportToCsvForm, Page} from '@vlsergey/react-bootstrap-csv-export';
async function fetchPageImpl( page: number ) : Promise<Page<MyType>> {
/* define how to fetch page of MyType */
return {
content: /*...*/ as MyType[],
number: page,
totalElements: /*...*/,
totalPages: /*...*/,
};
}
const fields = [{key: 'id'}, {key: 'name'}, {key: 'birthday'},];
/* ... */
export default function Demo (): JSX.Element {
return <Container>
<ExportToCsvForm
fetchPage={fetchPageImpl}
fields={fields}
fileName="test.csv" />
</Container>;
}
To use out-of-the-box export-to-csv modal form:
import React, {useCallback, useState} from 'react';
import Button from 'react-bootstrap/Button';
import Container from 'react-bootstrap/Container';
import {ExportToCsvModal} from '@vlsergey/react-bootstrap-csv-export';
/* ... */
async function fetchPageImpl( page: number ) : Promise<Page<MyType>> {
/* define how to fetch page of MyType */
return {
content: /*...*/ as MyType[],
number: page,
totalElements: /*...*/,
totalPages: /*...*/,
};
}
const fields = [{key: 'id'}, {key: 'name'}, {key: 'birthday'},];
export default function FormDemo (): JSX.Element {
const [ show, setShow ] = useState<boolean>(false);
const handleShow = useCallback(() => setShow(true), [ setShow ]);
const handleHide = useCallback(() => setShow(false), [ setShow ]);
return <Container>
<ExportToCsvModal
fetchPage={fetchPageImpl}
fields={fields}
fileName="test.csv"
onHide={handleHide}
show={show} />
<Button onClick={handleShow}>Export to CSV</Button>
</Container>;
}
FAQs
Ready to use CSV exporter components with settings form and progress indicator
The npm package @vlsergey/react-bootstrap-csv-export receives a total of 2 weekly downloads. As such, @vlsergey/react-bootstrap-csv-export popularity was classified as not popular.
We found that @vlsergey/react-bootstrap-csv-export 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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.