'sheet_to_json set range by columns using xlsx nodejs

I would like to know how to Read values only from specified range of columns using xlsx sheet_to_json

In a excel, read values from D to J using xlsx nodejs

const XLSX = require("xlsx");

const workbook = XLSX.readFile("data.xlxs"); 
const worksheet = workbook.Sheets["data summary"]; 
       

const result= XLSX.utils.sheet_to_json(worksheet,{range: "D:J", blankrows: false });;





Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source