Module: format/util

format/util

Helper functions for formating.
Source:

Methods

<static> getLicenseList(data) → {Array}

Return list of license types extracted from specified data. License types extracted from license or licenses field.
Parameters:
Name Type Description
data Object Data that should be processed.
Source:
Returns:
List of found license types.
Type
Array

<static> getRepository(data) → {String}

Return repository URL extracted from specified data. URL extracted from repository field.
Parameters:
Name Type Description
data Object Data that should be processed.
Source:
Returns:
Found repository URL or empty string.
Type
String
Copyright (c) 2014 Denis Sikuler
Documentation generated by JSDoc 3.2.2 on Thu Aug 21 2014 23:46:52 GMT+0400 (MSK) using the DocStrap template.