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>
data
Object - 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)
// test
path
string
path
stringReturns the path where the current repository is located
console.log(eagle.library.path);
// C:\Users\User\Pictures\Design.library
modificationTime
Integer
modificationTime
IntegerReturns the last modification time (timestamp)
console.log(eagle.library.modificationTime);
// 1681281134495
Last updated