Awesome Open Source
Search
Programming Languages
Languages
All Categories
Categories
About
Search results for javascript filepath
filepath
x
javascript
x
28 search results found
Normalize Path
⭐
61
Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!
Replace Ext
⭐
46
Replaces a file extension with another one.
File Exists
⭐
33
Check if filepath exists and is a file
Unixify
⭐
32
Convert a windows file path to a unix-style file path.
Global Modules
⭐
31
Returns the directory used by NPM for globally installed NPM packages.
Parse Filepath
⭐
26
Parse a filepath and return an object of path parts. Falls back on native node.js `path.parse` if it exists
Global Prefix
⭐
20
Get the npm global path prefix. Same code used internally by npm.
Is Absolute
⭐
20
Returns true if a filepath is absolute. The original path-is-absolute.
Npm Paths
⭐
13
Returns an array of unique "npm" directories based on the user's platform and environment. Node.js / JavaScript.
Is Relative
⭐
13
Returns `true` if a file path appears to be relative. Moved from the "relative" lib.
Git Config Path
⭐
12
Resolve the path to the user's global .gitconfig.
Contains Path
⭐
12
Return true if a file path contains the given path.
Add Filename Increment
⭐
12
When copying or moving files, it's common for operating systems to automatically add an increment or 'copy' to duplicate file names. This does that for Node.js applications, with automatic platform detection and support for Linux, MacOs, and Windows conventions.
Is Dotfile
⭐
12
Return true if the file is (or the file path has) a dotfile.
Detect File
⭐
11
Uses a breadth-first search, when necessary, to resolve the file path using the correct casing, and verify that the file actually exists. Returns consistent results regardless of case sensitivity of the file path and/or operating system.
Find Pkg
⭐
10
Find the first directory with a package.json, recursing up, starting with the given directory. Similar to look-up but does not support globs and only searches for package.json. Async and sync.
Xlconverter
⭐
10
Convert Excel File to Objects
Retext Syntax Urls
⭐
9
plugin to classify url-like values as syntax, not natural language
Load Templates
⭐
9
Load templates from file paths, globs or objects, and cache them as normalized objects.
Strip Filename Increment
⭐
8
Operating systems commonly add a trailing increment, or the word 'copy', or something similar to duplicate files. This strips those increments. Tested on Windows, MacOS, and Linux.
Is Valid Path
⭐
8
Returns true if a windows file path does not contain any invalid characters.
Easy Renamer
⭐
7
Easily rename files using custom rename functions that are automatically used against any file paths that match the associated regex or glob patterns.
Path Ends With
⭐
7
Return `true` if a file path ends with the given string.
Path Starts With
⭐
6
Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.
Bash Path
⭐
6
Get the path to the bash binary on your OS.
Code Of Conduct Path
⭐
5
Get the path to the Code of Conduct (contributor covenent) file in a local repository.
Bash Match
⭐
5
Match strings using bash. Does not work on windows, and does not read from the file system. This library requires that Bash 4.3 or higher is installed and is mostly used for checking parity in unit tests.
Static Rewrite
⭐
5
Easily generate destination paths or static URLs by mapping user-friendly patterns to server-side build paths.
Related Searches
Javascript Command Line (22,017)
Javascript Testing (21,652)
Javascript Python (11,052)
Javascript Google (9,787)
Javascript Promise (7,898)
Javascript Search (7,691)
Javascript Markdown (7,458)
Javascript Git (5,895)
Javascript Validation (5,608)
Javascript Language (4,135)
1-28 of 28 search results
Privacy
|
About
|
Terms
|
Follow Us On Twitter
Copyright 2018-2024 Awesome Open Source. All rights reserved.