🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

obj2csv

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

obj2csv

A javascript based plugin to generate CSV out of an object.

2.0.3
latest
Source
npm
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Print.js

Build Status Software License Standard - JavaScript Style Guide npm

Little JavaScript plugin to generate CSV files.

Installation

You can download the latest version of obj2csv from the GitHub releases.

Configuration

In order use this plugin, following steps have to be taken:

  • Add the reference to the plugin in your `HTML':
<script src='./dist/csvjs.min.js'></script>
  • Add the following JavaScript code to your code to print your object:
obj2csv({
    exportable: data
})

Note: data must be an object which needs to be printed out.

Setting up a DEV environment

In order to have this project as a development environment, following steps have to be taken:

npm install
npm run watch

Also in order to test the code:

npm install httpserver -g
httpserver

Then in order to test the plugin, navigate to the following page: http://localhost:8080/test.html

License

obj2csv is available under the MIT license.

Keywords

obj2csv

FAQs

Package last updated on 24 Dec 2018

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