vamtiger-create-directory
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

VAMTIGER Create Directory

Create a directory for a defined path.

Installation

VAMTIGER Create Directory can be installed using npm or yarn:

npm install --save vamtiger-create-directory

or

yarn add vamtiger-create-directory

Usage

Import or require a referece to VAMTIGER Create Directory:

import createDirectory from 'vamtiger-create-directory';

or

const createDirectory = require('vamtiger-create-directory').default;

Creating a directory returns a Promise:

createDirectory('some createDirectory code')
    .catch(handleError);

Since VAMTIGER Create Directory returns a Promise, it can be more conveniently invoked within an async function:

async someAsyncFunction function() {
    const bashResult = await createDirectory('some createDirectory code');
}

Readme

Keywords

Package Sidebar

Install

npm i vamtiger-create-directory

Weekly Downloads

46

Version

0.0.5

License

MIT

Unpacked Size

20.5 kB

Total Files

12

Last publish

Collaborators

  • vamtiger-project