Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Package

Index

Constructors

constructor

  • new Package(meta: any, pkgPath: string): Package

Properties

dir

dir: string

files

files: string[]

main

main: string

mainPath

mainPath: string

meta

meta: any

name

name: string

Static cache

cache: any

Methods

getFiles

  • getFiles(): Promise<string[]>

getMain

  • getMain(main: string, browser: any): string

nameFromDir

  • nameFromDir(dir: string): string

Static create

Static getDependencies

  • getDependencies(entry: string): Promise<string[]>

Static getInstalledPackageDirs

  • getInstalledPackageDirs(modulesPath: string): string[]

Static loadJson

  • loadJson(file: string): any

Generated using TypeDoc