Skip to content

Instantly share code, notes, and snippets.

View joshleblanc's full-sized avatar

Josh LeBlanc joshleblanc

  • OMICS Software
  • Riverview, New Brunswick
View GitHub Profile
const fs = require('fs');
const { promisify } = require('util');
const hash = require('./hash');
const { dbs: dbsPath } = require('./paths');
class MahClass {
constructor() {
this.readFilePromise = promisify(fs.readFile);
this.originPath = this.getOriginHashFromFile();