Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/expand-tilde) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Installation
npm install --save @types/expand-tilde
Summary
This package contains type definitions for expand-tilde (https://github.com/jonschlinkert/expand-tilde).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/expand-tilde.
index.d.ts
/**
* Bash-like tilde expansion for node.js.
* Expands a leading tilde (~) in a file path to the user home directory, or ~+ to the cwd.
*
* @param {string} filePath - a file path to expand
* @returns {string} the expanded file path
*/
declare function expandTilde(filePath: string): string;
export = expandTilde;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
Credits
These definitions were written by Chris Arnesen.