tildify
npmv3.0.0Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
Overview
tildify is an npm package that convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`. It is very popular, with about 4.2M downloads per week and 1 known dependents in the graph. The latest version is 3.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev` and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (4.2M weekly downloads).
- Clear open-source license (MIT).
- Lean dependency tree (3 direct dependencies).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of tildify.
Dependencies
Dev (3)
Used by
Popular packages that depend on tildify.
Alternatives to tildify
Get paths for storing things like data, config, cache, etc
Find a file or directory by walking up parent directories
Extract the non-magic parent path from a glob string.
Find the root directory of a Node.js project or npm package
Resolve the path of a module like `require.resolve()` but from the current working directory
Convert Windows backslash paths to slash paths
Resolve the path of a module like `require.resolve()` but from a given path
A tiny (183B to 210B) and fast utility to ascend parent directories
Utility to parse a string bytes to bytes and vice-versa
Convert character encodings in pure javascript.
Converts a source-map from/to different formats and allows adding/changing properties.
The fastest directory crawler & globbing alternative to glob, fast-glob, & tiny-glob. Crawls 1m files in < 1s
Frequently installed together
The semantic version parser used by npm.
Lightweight debugging utility for Node.js and the browser
the complete solution for node.js command-line programs
Resolve the path of a module like `require.resolve()` but from a given path
A tiny (183B to 210B) and fast utility to ascend parent directories
Lodash modular utilities.
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
🌈Easily set your terminal text color & styles.
Determine the `package.json#type` which applies to a location
Functions for dealing with a PostgreSQL connection string
PostgreSQL client - pure javascript & libpq with the same API
Version history
| Version | Published | License |
|---|---|---|
| 3.0.0latest | 5 years ago | MIT |
| 2.0.0 | 7 years ago | MIT |
| 1.2.0 | 10 years ago | MIT |
| 1.1.2 | 10 years ago | MIT |
| 1.1.1 | 10 years ago | MIT |
| 1.1.0 | 11 years ago | MIT |
| 1.0.0 | 12 years ago | MIT |
| 0.2.0 | 12 years ago | MIT |
| 0.1.0 | 12 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install tildify?
Run `npm install tildify` to add tildify to your npm project.
What license is tildify released under?
tildify is distributed under the MIT license.
How popular is tildify?
tildify has approximately 4,227,962 downloads per week and 1 known dependent packages.