A lightweight npm package with methods for some basic synchronous directory, file, git and logging operations.
npm install --save @itchef/rg-lib
Assume that the following line of code precedes all of the examples.
-
To Use Directory Sync,
import { Dir } from '@itchef/rg-lib'
Please find the contract here.
-
To Use File Sync,
import { File } from '@itchef/rg-lib'
Please find the contract here.
-
To Use Git tasks,
import { Git } from '@itchef/rg-lib'
Please find the contract here.
-
To Use Logger,
import { Logger } from '@itchef/rg-lib'
Please find the contract here.