UNPKG

@aws/pdk

Version:

All documentation is located at: https://aws.github.io/aws-pdk

32 lines (20 loc) 661 B
# realpath-missing > Canonicalize by following every symlink in every component of the given name recursively, without requirements on components existence <!--@shields('npm')--> [![npm version](https://img.shields.io/npm/v/realpath-missing.svg)](https://www.npmjs.com/package/realpath-missing) <!--/@--> ## Installation ```sh <npm|yarn|pnpm> add realpath-missing ``` ## Usage ```js 'use strict' const realpathMissing = require('realpath-missing') console.log(await realpathMissing('package.json')) //> /home/src/package.json ``` ## API ### `realpathMissing(path): Promise<path>` ## License [MIT](./LICENSE) © [Zoltan Kochan](https://www.kochan.io)