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

@sigeo/export-to-csv

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sigeo/export-to-csv

Export to CSV - Simple way to generate a CSV from Vanilla JS!

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
3
Weekly downloads
 
Created
Source

SIGEO logo

Export to CSV

Simple way to generate a CSV from Vanilla JS!

We working on live demo, give us little more time!

Installation

This package is available as an npm package.

// With npm
npm install @sigeo/export-to-csv

// With yarn
yarn add @sigeo/export-to-csv

Usage

Pass an array of arrays to exportToCsv function imported by @sigeo/export-to-csv package. Each array will be a row in the CSV.

Here is a quick example to get you started, it's all you need:

import exportToCsv from '@sigeo/export-to-csv';

exportToCsv([
  ['Header1', 'Header2', 'Header3'],
  ['Row 1 - Data 1', 'Row 1 - Data 2', 'Row 1 - Data 3'],
  ['Row 2 - Data 1', 'Row 2 - Data 2', 'Row 2 - Data 3'],
  ['Row 3 - Data 1', 'Row 3 - Data 2', 'Row 3 - Data 3', 'Row 3 - Data 4']
]);

License

Copyright © 2019 Sigeo S.R.L

Licensed under a GPL3+ license: http://www.gnu.org/licenses/gpl-3.0.txt

FAQs

Package last updated on 18 Jun 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