0.0.24 • Published 5 months ago

@itrocks/app-dir v0.0.24

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

npm version npm downloads GitHub issues discord

app-dir

A Node.js library to determine the root directory of your project.

Usage

Installation

npm i @itrocks/app-dir

Example

import { appDir } from '@itrocks/app-dir'
console.log(appDir)
// Prints the root directory of your main application

How it works

This library determines your application's root directory by resolving the ./node_modules/@itrocks/app-dir/app-dir.js path relative to your project. It uses this relative path to calculate the full path to your application.

0.0.24

5 months ago

0.0.23

7 months ago

0.0.22

7 months ago

0.0.21

9 months ago

0.0.20

9 months ago

0.0.19

9 months ago

0.0.18

10 months ago

0.0.17

10 months ago

0.0.16

10 months ago

0.0.15

10 months ago

0.0.14

10 months ago

0.0.13

10 months ago

0.0.12

10 months ago

0.0.11

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago