Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions lib/node_modules/@stdlib/_tools/pkgs/dep-list/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,18 @@ function ascending( a, b ) {
* @param {boolean} [options.manifest=true] - boolean indicating whether to return dependencies from `manifest.json` files
* @throws {TypeError} first argument must be a string
* @returns {(StringArray|EmptyArray)} dependencies
*
* @example
* var out = depList( '@stdlib/assert/is-number-array' );
* // returns [...]
*
* @example
* var opts = {
* 'dev': true
* };
*
* var out = depList( '@stdlib/utils/keys', opts );
* // returns [...]
*/
function depList( pkg, options ) {
var opts;
Expand Down
12 changes: 12 additions & 0 deletions lib/node_modules/@stdlib/_tools/pkgs/namespace-deps/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,18 @@ function ascending( a, b ) {
* @param {number} [options.level=1] - dependency level
* @throws {TypeError} first argument must be a string
* @returns {(StringArray|EmptyArray)} dependencies
*
* @example
* var out = namespaceDeps( '@stdlib/assert' );
* // returns [...]
*
* @example
* var opts = {
* 'dev': true
* };
*
* var out = namespaceDeps( '@stdlib/assert', opts );
* // returns [...]
*/
function namespaceDeps( pkg, options ) {
var opts;
Expand Down