Socket
Socket
Sign inDemoInstall

lup-root

Package Overview
Dependencies
0
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lup-root

Determines absolute path to project root and main file


Version published
Maintainers
1
Install size
6.78 kB
Created

Readme

Source

GitHub package.json version npm bundle size GitHub Workflow Status NPM

lup-root

Node module that determines absolute path to project root and main file of project

Example

const {ROOT, MAIN} = require('lup-root');

console.log("Root directory: " + ROOT);
console.log("Main file: " + MAIN);

Keywords

FAQs

Last updated on 01 Aug 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc