@zero-version/monorepo.get-solution-dir
TypeScript icon, indicating that this package has built-in type declarations

9.9.14 • Public • Published

Monorepo utility.

Usage

Searches up the directory structure and the last package.json it finds is assumed to be the solution.

import { getSolutionDir } from '@zero-version/monorepo';

console.log(getSolutionDir(process.cwd()));
// -> eg.
// /dir/to/solution

Support

Are you using a package I've developed and finding it useful? Or have you looked at one of my repositories and learnt something new? If so, please consider buying me a coffee. Thanks!

/@zero-version/monorepo.get-solution-dir/

    Package Sidebar

    Install

    npm i @zero-version/monorepo.get-solution-dir

    Weekly Downloads

    1

    Version

    9.9.14

    License

    UNLICENSED

    Unpacked Size

    2.44 kB

    Total Files

    5

    Last publish

    Collaborators

    • andrewcrobertson