1.0.5 • Published 3 years ago

node-ts-utils v1.0.5

Weekly downloads
54
License
ISC
Repository
github
Last release
3 years ago

Node-TypeScript Utils

An object containing two useful functions for working with files in NodeJS

Usage

npm install node-ts-utils

Use as any other module:

import { readFile, writeFile } from 'node-ts-utils';

// Eg. print data from json file
const dataPath = './data/test.json';
readFile(
  (data) => {
    console.log(data);
  },
  false,
  dataPath,
);
1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago