Showing 1-20 of 1,432 packages
Function to join paths that always returns forward slashes (uniform for unix and windows). A replacement to path.join
Join urls and normalize as in path.join.
Like `path.join` but for a URL
Join urls and normalize as in path.join.
Like `path.join` but for urls.
A `path.join` that handles URIs with protocols.
An alternative to path.join() that prevents unanticipated .. directory access due to user-input but allows .. access done programmatically and intentionally.
Like path.join but takes absolute path into account
Bind a directory to path.join
path.join on steroïds.
like path.join but with an array
Provides same behaviors of `path.join` module for all versions of node.js
ESM and CJS support for `path.join` of both file paths and file URLs
Join urls and normalize as in path.join.
use strict'; const path=require('path'); const addObj=require(path.join(__dirname,'add.js')); const subObj=require(path.join(__dirname,'substrict.js')) const person=require(path.join(__dirname,'syndrome.js'))
Join urls and normalize as in path.join.
This a script to generate color specific styles less file and which you can use to change theme dynamically in browser
get the file directory from import.meta.url
Get the closest parent folder containing a package.json file
``` const { OssUpload } = require("./index"); const path = require("path"); const local = path.join(__dirname, "./test"); const oss = new OssUpload({ region: "", accessKeyId: "", accessKeySecret: "", bucket: "", matchDir: ["node_modules