HJSON.psm1
# Load hjson library Add-Type -Path "$PSScriptRoot\bin\Hjson.dll" # dot source all script files Get-ChildItem -Path "$PSScriptRoot\functions" -Recurse -File -Filter '*.ps1' | ForEach-Object { . $_.FullName # Export all functions except internal if ($_.FullName -notcontains 'internal') { Export-ModuleMember $_.BaseName } } |