vlt / docs

  • PricingBenchmarks (opens in new window)Community (opens in new window)Feedback
  • Overview
    • Overview
    • Reference
  • Overview
  • Usage
  1. Client
  2. /
  3. API Reference
  4. /
  5. @vltpkg/init

@vltpkg/init

@vltpkg/init

Project initialization logic for vlt.

Usage

Overview

This is a tool that provides the project initialization logic used by the vlt cli.

Usage

JavaScript
import { init } from '@vltpkg/init'

// initalize a project
const results = await init({ cwd: '/some/path' })

// now results contains { manifest: { path, data }}

PreviousReferenceNextReference

On this page

  • Overview
  • Usage

Deploy your package on vlt.io

Publish scoped and private packages, manage organizations and access, and give every developer and CI environment a consistent source for public and private JavaScript dependencies.

Publish now