For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Returns the name of the current repository

console.log(eagle.library.name)
// test

path string

Returns the path where the current repository is located

modificationTime Integer

Returns the last modification time (timestamp)

Last updated