@csvbox/csvboxjs
TypeScript icon, indicating that this package has built-in type declarations

1.0.14 • Public • Published

@csvbox/csvboxjs

JS adapter for csvbox.io

NPM JavaScript Style Guide

Shell

npm install @csvbox/csvboxjs

Usage

import CSVBoxImporter from '@csvbox/csvboxjs';

function callback(result, data) {
    if(result) {
        console.log("Sheet uploaded successfully");
        console.log(data.row_success + " rows uploaded");
    }else{
        console.log("There was some problem uploading the sheet");
    }
}

let importer = new CSVBoxImporter("Sheet license key",{}, callback);

importer.setUser({
    user_id: 'default123'
});

importer.openModal();

Readme

For usage see the guide here - https://help.csvbox.io/getting-started#2-install-code

License

MIT © csvbox-io

Package Sidebar

Install

npm i @csvbox/csvboxjs

Weekly Downloads

551

Version

1.0.14

License

MIT

Unpacked Size

33.4 kB

Total Files

8

Last publish

Collaborators

  • aniketrane
  • csvbox-io
  • ishwar5
  • sumit_yewale