@td7x/home-court
TypeScript icon, indicating that this package has built-in type declarations

0.6.1 • Public • Published

Home Court

This very simple module that identifies the path of the most-parent app or module - home court advantage for you module.

Installation

$ npm i -S home-court

Usage

If you need the the path of the parent (or grand-parent) module simply import 'home-court' (the export is a string).

const APP_HOME = require('home-court');
console.log(APP_HOME);

Package Sidebar

Install

npm i @td7x/home-court

Weekly Downloads

6

Version

0.6.1

License

ISC

Last publish

Collaborators

  • tomdavidson