node package manager

cermati-utils

shared-utils

contains all the common libraries that may be used across different repository

All the code in this repository is copyrighted by Cermati.com (Dwi Cermat Pte Ltd)

Initialize

var utils = require('cermati-utils');

Worksheet Reader example

var xlsx = require('xlsx');
var workbook = xlsx.readFile('./filename.xlsx');
var utils = require('cermati-utils');
 
var SheetNames = {
    Sheet1: 'Sheet1'
};
 
var reader = new utils.CreateWorksheetReader(workbook.Sheets[SheetNames.Sheet1], {
        name: 'F'
    },
    'name'
);
 
var companyNames = reader.getAll();
 

Logger example

var logger = require('cermati-utils').Logger(__filename);