This package has been deprecated

Author message:

See @fcostarodrigo/open-path

rfc-open-path-sync

1.0.3 • Public • Published

RFC-OPEN-PATH-SYNC

Simple node module to create nested directories of a path like mkdir -p.

See rfc-open-path for the asynchronous version.

DEPRECATED: See @fcostarodrigo/open-path

Installation

npm install rfc-open-path-sync

Usage

const openPath = require('rfc-open-path-sync');

openPath('a/b/c/d/e.f', true);

Reference

openPath(pathToOpen: String, fileInPath?: Boolean)

Create nested directories of a path.

  • pathToOpen: String with the path.
  • fileInPath: Indicates if the last item of the path is a file.

Development

npm test

License

MIT

Package Sidebar

Install

npm i rfc-open-path-sync

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

3.44 kB

Total Files

6

Last publish

Collaborators

  • fcostarodrigo