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