library
Get information about the repository currently being used by Eagle.
Methods
info()
Get detailed information about the current repository, including folders, smart folders, tag groups, etc.
- Returns - Promise<data: Object>- dataObject - Various properties of the repository
 
console.log(await eagle.library.info());Properties
The library module includes the following properties:
name string
name stringReturns the name of the current repository
console.log(eagle.library.name)
// testpath string
path stringReturns the path where the current repository is located
console.log(eagle.library.path);
// C:\Users\User\Pictures\Design.librarymodificationTime Integer
modificationTime IntegerReturns the last modification time (timestamp)
console.log(eagle.library.modificationTime);
// 1681281134495Last updated
