Easily calculate the relative path from file A to file B in Node.js project. Will calculate correctly from a file to a directory, file to file, directory to file, and directory to directory.
☆33Mar 14, 2023Updated 3 years ago
Alternatives and similar repositories for relative
Users that are interested in relative are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Visit a method over the items in an object, or map visit over the objects in an array. This is an alternative approach to using extend or…☆20Dec 15, 2020Updated 5 years ago
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 4 years ago
- Create nested getter properties and any intermediary dot notation (`'a.b.c'`) paths☆13Jun 18, 2021Updated 5 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Dec 16, 2020Updated 5 years ago
- CLI and API to get a single file from Github repository.☆11May 31, 2017Updated 9 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- CSV parser for node.js☆15Mar 11, 2019Updated 7 years ago
- Extract the git remote origin URL from your local git repository.☆16Feb 11, 2021Updated 5 years ago
- Get the list of npm modules that depend on the specified npm module.☆14Dec 27, 2017Updated 8 years ago
- Easily load and normalize data to be passed to templates as context. Pass an object directly, or pass glob patterns or file paths to any …☆22Jan 5, 2017Updated 9 years ago
- Parse a filepath and return an object of path parts. Falls back on native node.js `path.parse` if it exists☆31Dec 19, 2017Updated 8 years ago
- Enable Travis CI for a project from the command line.☆16Jul 24, 2017Updated 9 years ago
- Paginate an array into pages of items.☆15Jul 19, 2016Updated 10 years ago
- Basic cache object for storing key-value pairs. Based on MapCache in Lo-dash 3.0☆20May 10, 2016Updated 10 years ago
- Generate a unique sequential ID. Optionally pass a prefix, suffix, or multiplier.☆18Dec 12, 2023Updated 2 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Like `extend` but only copies missing properties/values to the target object.☆17Apr 26, 2017Updated 9 years ago
- node.js utility for exporting a directory of files as modules.☆21Jul 20, 2021Updated 5 years ago
- Uses a breadth-first search, when necessary, to resolve the file path using the correct casing, and verify that the file actually exists.…☆12Sep 1, 2017Updated 9 years ago
- Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.☆12May 12, 2026Updated 5 months ago
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Feb 27, 2017Updated 9 years ago
- Lo-dash's array-clice method. Slices `array` from the `start` index up to, but not including, the `end` index.☆21Apr 5, 2018Updated 8 years ago
- Create a matching function from a glob pattern, regex, string, array or function.☆20Jun 18, 2017Updated 9 years ago
- Faster, node.js focused alternative to JavaScript's native array map.☆15Feb 28, 2017Updated 9 years ago
- Create a vinyl file or stream from a buffer☆13Oct 17, 2017Updated 9 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 5 years ago
- Returns true if a string has an extglob☆24May 25, 2019Updated 7 years ago
- Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.☆24Mar 16, 2022Updated 4 years ago
- Drop-in replacement for `fs.existsSync` with zero dependencies. Other libs I found either have crucial differences from fs.existsSync, or…☆12Sep 1, 2017Updated 9 years ago
- Sink your streams.☆17Oct 12, 2026Updated last week
- Normalize values in package.json to improve compatibility, programmatic readability and usefulness with third party libs.☆18Mar 2, 2020Updated 6 years ago
- Parse a glob pattern into an object of path parts.☆25Apr 14, 2020Updated 6 years ago
- Returns true if a value has the characteristics of a valid JavaScript data descriptor.☆21Dec 30, 2025Updated 9 months ago
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Find and load a YAML or JSON config file from a local project, installed npm module, or the user's home directory.☆13Dec 30, 2015Updated 10 years ago
- Alternative to Lo-Dash template with support for helpers.☆18Feb 13, 2020Updated 6 years ago
- Filter an object to have only the `own` properties for which a `callback` function returns true.☆15Oct 27, 2018Updated 7 years ago
- Extend the properties from any number of objects onto the first object. Pass an empty object as the first arg to create a new object.☆14Mar 3, 2018Updated 8 years ago
- Get the line number for each regex match found in a string.☆15May 23, 2019Updated 7 years ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Jul 12, 2026Updated 3 months ago
- Easily add plugin support to your node.js application.☆26Dec 14, 2020Updated 5 years ago