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 2 years ago
Alternatives and similar repositories for relative
Users that are interested in relative are comparing it to the libraries listed below
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
- CSV parser for node.js☆15Mar 11, 2019Updated 7 years ago
- Normalize values in package.json to improve compatibility, programmatic readability and usefulness with third party libs.☆18Mar 2, 2020Updated 6 years ago
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 3 years ago
- CLI and API to get a single file from Github repository.☆11May 31, 2017Updated 8 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
- 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
- Returns the formatted, high-resolution time difference between `start` and `end` times.☆17May 1, 2016Updated 9 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Dec 16, 2020Updated 5 years ago
- Get the GitHub repository URL from a NPM package name.☆21May 28, 2018Updated 7 years ago
- Node.js CLI for creating GitHub labels☆13Oct 21, 2019Updated 6 years ago
- Enable Travis CI for a project from the command line.☆16Jul 24, 2017Updated 8 years ago
- node.js utility for exporting a directory of files as modules.☆21Jul 20, 2021Updated 4 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
- 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 3 years ago
- adds a `data` method to base-methods. 100% unit test coverage and browserify-friendly lazy-caching.☆19Apr 1, 2020Updated 5 years ago
- Delete files and folders and any intermediate directories if they exist (sync and async).☆24Jul 2, 2017Updated 8 years ago
- Check if a directory is empty.☆20Dec 29, 2023Updated 2 years ago
- Modify/rename the keys of the own enumerable properties of an object.☆27Jan 28, 2020Updated 6 years ago
- Get the npm global path prefix. Same code used internally by npm.☆29Aug 17, 2024Updated last year
- Convert plain text into snippets of markdown.☆29Jul 5, 2018Updated 7 years ago
- Extends `stats.isDirectory()`, returns `true` if a filepath is a directory.☆27Nov 21, 2016Updated 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
- Simple, opinionated node.js interface for creating basic apps with the GitHub API.☆61Aug 14, 2018Updated 7 years ago
- Basic logging utils: colors, symbols and timestamp.☆24Nov 18, 2018Updated 7 years ago
- Minimal TAP output formatter.☆29Jul 26, 2017Updated 8 years ago
- Parse a glob pattern into an object of path parts.☆25Apr 14, 2020Updated 5 years ago
- Update is a new developer framework and CLI for automating updates of any kind in code projects. If you know how to use assemble, generat…☆131May 21, 2021Updated 4 years ago
- Dry is a new template engine and language, and is a superset of Shopify's Liquid, with first-class support for advanced inheritance featu…☆79Feb 13, 2025Updated last year
- Very thin wrapper around js-yaml for directly reading in YAML files.☆26Nov 18, 2019Updated 6 years ago
- Regex to validate that a URL is a git URL.☆38Jun 9, 2017Updated 8 years ago
- Basic node.js utility for converting JSON to YAML and writing formatting YAML files to disk.☆41Nov 18, 2019Updated 6 years ago
- Convert a string to a dash-separated string (kebab case). Works with camelcase, pascalcase, space-separated, etc.