Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 689 Bytes

index.md

File metadata and controls

37 lines (23 loc) · 689 Bytes

Builder

Generate .ghinfo files with repo, npm package and media information

Constructor

new Builder(dir: string, type: string): Builder

Parameters

Name Type Description
dir string Directory with media files
type string Repository content type

Returns: Builder

Methods

build

Build .ghinfo file structure

Parameters

Name Type Description
paths string[] media file paths
pkg PackageJson package.json content
repo string repository name

generate

create or rewrite .ghinfo file