get_npm_root

    1.0.1 • Public • Published

    get_npm_root

    this is a npm package to get npm root folder where all the global node_modules are saved

    const get_npm_root = require("get_npm_root");
    
    main();
    
    async function main(){
        console.log(await get_npm_root());
    }

    Keywords

    Install

    npm i get_npm_root

    DownloadsWeekly Downloads

    5

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    1.42 kB

    Total Files

    3

    Last publish

    Collaborators

    • avatar