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
- Generate a unique sequential ID. Optionally pass a prefix, suffix, or multiplier.☆18Dec 12, 2023Updated 2 years ago
- Normalize values in package.json to improve compatibility, programmatic readability and usefulness with third party libs.☆18Mar 2, 2020Updated 6 years ago
- Extends `stats.isDirectory()`, returns `true` if a filepath is a directory.☆27Nov 21, 2016Updated 9 years ago
- CSV parser for node.js☆15Mar 11, 2019Updated 7 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.
- PostCSS plugin to convert CSS selector names to camelCase☆13Dec 13, 2019Updated 6 years ago
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 3 years ago
- node.js utility for exporting a directory of files as modules.☆21Jul 20, 2021Updated 4 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 8 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
- Node.js CLI for creating GitHub labels☆13Oct 21, 2019Updated 6 years ago
- DEPRECATED - Optimizations from this library have been merged into https://github.com/js-cli/node-findup-sync. Please use that library i…☆12May 31, 2017Updated 8 years ago
- Returns true if a string has an extglob☆23May 25, 2019Updated 6 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Check if a directory is empty.☆20Dec 29, 2023Updated 2 years ago
- Returns the formatted, high-resolution time difference between `start` and `end` times.☆17May 1, 2016Updated 9 years ago
- Enable Travis CI for a project from the command line.☆16Jul 24, 2017Updated 8 years ago
- Get the GitHub repository URL from a NPM package name.☆21May 28, 2018Updated 7 years ago
- Parse a person, author, contributor or maintainer string into an object with name, email and url properties following NPM conventions. Us…☆23Mar 8, 2017Updated 9 years ago
- Parse `.git/config` into a JavaScript object. sync or async.☆63Nov 20, 2018Updated 7 years ago
- Uses snapdragon to tokenize a single JavaScript block comment into an object, with description, tags, and code example sections that can …☆14Jun 12, 2023Updated 2 years ago
- Get the npm global path prefix. Same code used internally by npm.☆29Aug 17, 2024Updated last year
- Minimal TAP output formatter.☆29Jul 26, 2017Updated 8 years ago
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- Create nested getter properties and any intermediary dot notation (`'a.b.c'`) paths☆13Jun 18, 2021Updated 4 years ago
- Get the list of npm modules that depend on the specified npm module.☆15Dec 27, 2017Updated 8 years ago
- 从0开始写一个操作系统——《操作系统真象还原》☆12Sep 21, 2020Updated 5 years ago
- Parse a `git log` output of a repository into an object with useful commit data. Supports plugins, streaming, promises and callback APIs.☆12Jan 12, 2023Updated 3 years ago
- Regular expression for matching punctuation characters.☆10Jul 1, 2017Updated 8 years ago
- Paginate an array into pages of items.☆15Jul 19, 2016Updated 9 years ago
- 基于Ant-design的可以拖拽的Modal☆13Sep 18, 2025Updated 7 months ago
- adds a `data` method to base-methods. 100% unit test coverage and browserify-friendly lazy-caching.☆19Apr 1, 2020Updated 6 years ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 4 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Modify/rename the keys of the own enumerable properties of an object.☆27Jan 28, 2020Updated 6 years ago
- Serialize ngraph.graph to binary format☆10Oct 9, 2025Updated 6 months ago
- Token authentication for accountdown☆11Oct 16, 2015Updated 10 years ago
- Faster, node.js focused alternative to JavaScript's native array map.☆14Feb 28, 2017Updated 9 years ago
- Run a process in the background, disconnected from the main process.☆11May 8, 2017Updated 8 years ago
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- Delete files and folders and any intermediate directories if they exist (sync and async).☆24Jul 2, 2017Updated 8 years ago