---
title: "@vltpkg/project"
description: "Documentation for the vlt client and the vlt registry."
url: "https://docs.vlt.io/client/api-reference/project"
image: "https://docs.vlt.io/og/client/api-reference/project"
lang: "en"
---

# @vltpkg/project

# @vltpkg/project

Project-level utilities shared across workspaces.

**[Usage](https://docs.vlt.io/client/api-reference/project#usage)**

## Overview

This package contains shared helpers to discover candidate project folders, skipping well-known non-project folders in the user's home directory.

They back the `:host()` query selector.

## Usage

```js
import { PathScurry } from 'path-scurry'
import { readProjectFolders } from '@vltpkg/project'

const folders = await readProjectFolders({
  scurry: new PathScurry(process.cwd()),
  // defaults to scanning the user's home directory
  userDefinedProjectPaths: [],
})

console.log(folders.map(folder => folder.fullpath()))
```
