1. x-path
An extention for native node path module.
x-path
Package: x-path
Created by: node-x-extras
Last modified: Wed, 29 Jun 2022 04:38:12 GMT
Version: 0.0.2
License: MIT
Downloads: 198,299
Repository: https://github.com/node-x-extras/x-path

Install

npm install x-path
yarn add x-path

x-path

NPM version Build Status Dependency Status Code Climate Coverage Status

An extention for native node path module.

Install

 $ npm install --save x-path

Usage

 var path = require('x-path');

path.isAbsolutePath(somePath)
path.isRelativePath(somePath)

API

isAbsolutePath

isRelativePath

isRootDirectory

unifyPathSeparate

normalizePathSeparate

isDirectory

isFile

isDirectorySync

isFileSync

And three more come from path-extra

  • tempdir
  • homedir
  • datadir

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using gulp.

License

Copyright (c) 2015 Node X Extras. Licensed under the MIT license.

Dependencies

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin