JSPM

pave-path

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q12750F
  • License MIT

Pave the path to ensure it exists.

Package Exports

  • pave-path

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pave-path) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

pave-path

Introduction

A utility lib that paves the specific path for you to ensure further operations can be done.

Example

const pavePath = require('pave-path');

pavePath('./foo/bar');
pavePath('/path/to/dir/');
pavePath('0/1/2/3');