This package is simply a collection of functions (tools) that I use often, I plan on adding to this package often and heavily sticking to semver (as you should).
Documentation can be viewed here - If docs seem out of date use ctrl + f5 to "hard refresh"
import { removeKeys } from 'ghoststools'; // You can view all exported members on the docs
const inputObject = { test: true, run: () => {} };
const options = removeKeys(inputObject, 'run');
Takes in path(s) and flattens down to a single array of files (turning directories into paths)
Normalises all paths to posix style
Get all files within a directory recursively (includes sub directories)
Removes all the keys from a given object and returns it (doesn't mutate the given object)
Removes the trailing slash on a path - removes both \ and /
Generated using TypeDoc
Cast a item to a array of that item