# library

## Methods <a href="#z1a5y" id="z1a5y"></a>

## info() <a href="#s7pkf" id="s7pkf"></a>

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

```javascript
console.log(await eagle.library.info());
```

***

## Properties <a href="#adtwq" id="adtwq"></a>

The `library` module includes the following properties:

## `name` string <a href="#qxggi" id="qxggi"></a>

Returns the name of the current repository

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

## `path` string <a href="#qxggi" id="qxggi"></a>

Returns the path where the current repository is located

```javascript
console.log(eagle.library.path);
// C:\Users\User\Pictures\Design.library
```

## `modificationTime` Integer

Returns the last modification time (timestamp)

```javascript
console.log(eagle.library.modificationTime);
// 1681281134495
```
