report-tool-napi
v2.1.2
Published
## Development
Downloads
6
Readme
N-api binding for report-tool-rs
Development
Install
yarn
Build
yarn build
Test
yarn test
Publish
Push tomain
branch with commitx.x.x
version number (for eg.0.3.0
)
Example Use
let args = {
dataPath: path.join(__dirname, "./input.csv"), // CSV Input Data
metaPath: path.join(__dirname, "./meta.json"), // Metadat as JSON
outputPath: path.join(__dirname, "./output.xlsx"), // Output Path
lng: "ja", // Language
createdYear: 2021, // Year data was collected
};
try {
let result = await addon.reportGenerate(args);
} catch (e) {
console.log("Failed to execute.");
console.log(e.message);
}