Giter Site home page Giter Site logo

QUOTE not defined about sheetjs HOT 9 OPEN

sumitkoundilya avatar sumitkoundilya commented on May 18, 2024
QUOTE not defined

from sheetjs.

Comments (9)

johnLamberts avatar johnLamberts commented on May 18, 2024 1

It's not working though

from sheetjs.

WiharlleyWill avatar WiharlleyWill commented on May 18, 2024 1

Use XLSX lib.

`import * as XLSX from 'xlsx';
...

exportToExcel() {
const fileName = 'test.xlsx';

const ws: XLSX.WorkSheet = XLSX.utils.json_to_sheet(this.arr);
const wb: XLSX.WorkBook = XLSX.utils.book_new();
XLSX.utils.book_append_sheet(wb, ws, 'test');

XLSX.writeFile(wb, fileName);

}
`

from sheetjs.

sumitkoundilya avatar sumitkoundilya commented on May 18, 2024

Capture
Is this because of semicolon?
var APOS = "'"; QUOTE = '"'
to
var APOS = "'", QUOTE = '"'

from sheetjs.

tusharrana786 avatar tusharrana786 commented on May 18, 2024

@sumitkoundilya yeah it is due to semicolon and semicolon should be replaced by ,

from sheetjs.

philip-firstorder avatar philip-firstorder commented on May 18, 2024

Getting also this error, is it solved?

from sheetjs.

johnLamberts avatar johnLamberts commented on May 18, 2024

Yes, go to the documentation. I literally npm install the cdn links from there.

I mean, in my case. I already tried their solution but I still go back to the documentation then I found my solution anw.

from sheetjs.

SweydManaf avatar SweydManaf commented on May 18, 2024

has vulnerability

from sheetjs.

WiharlleyWill avatar WiharlleyWill commented on May 18, 2024

has vulnerability

report where there is vulnerability. It is not enough to just affirm.

from sheetjs.

sumitkoundilya avatar sumitkoundilya commented on May 18, 2024

It's not working though

Did you try changing in node modules builds?
I replaced that semicolon to coma, and it worked, but this is only useful when you have a project for local purpose. 🙂

from sheetjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.