cli-test-helper
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

cli-test-helper

It is a very simple helper module to test command line tools.

Installation

npm install --save-dev cli-test-helper

API

/**
 * Converts a string to real files and directories in the file system.
 */
export function stringToFiles(data: string, baseDir: string): Promise<void>;
/**
 * Converts files and directories in the file system to a string.
 */
export function filesToString(baseDir: string): Promise<string>;

License

MIT

/cli-test-helper/

    Package Sidebar

    Install

    npm i cli-test-helper

    Weekly Downloads

    1

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    7.1 kB

    Total Files

    6

    Last publish

    Collaborators

    • kshutkin