Package Exports
- @csvbox/csvboxjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@csvbox/csvboxjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@csvbox/csvboxjs
JS adapter for csvbox.io
Shell
npm install @csvbox/csvboxjsUsage
import CSVBoxImporter from 'csvbox-npm-test';
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("38uZ5obLvII2vyPYqKNjRe4iCJ6fTJ",{}, 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