Skip to content

beibeirory/node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

node

Album-Manager

This is our module for managing photo albums based on a directory. We assume that, given a path, there is an albums sub-folder, and each of its individual sub-folders are theselves the albums. Files in those sub-folders are photos.

Album Manager

The album manager exposes a single function, 'albums', which returns an array of 'Album' objects for each album it contains.

Album object

The album object has the following two properties and one method:

  • 'name' -- The name of the album
  • 'path' -- The path to the album
  • 'photos()' -- Calling this method will return all the album's photos

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published