> For the complete documentation index, see [llms.txt](https://developer.eagle.cool/plugin-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.eagle.cool/plugin-api/ja-jp/api/library.md).

# library（ライブラリ）

## メソッド <a href="#z1a5y" id="z1a5y"></a>

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

現在のリソースライブラリの詳細情報を取得します。フォルダ、スマートフォルダ、タググループなどが含まれます。

* 戻り値 `Promise<data: Object>`
  * `data` Object - ライブラリの各属性

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

***

## 属性 <a href="#adtwq" id="adtwq"></a>

`library` モジュールには以下の属性が含まれます：

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

現在のリソースライブラリの名前を返します

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

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

現在のリソースライブラリのパスを返します

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

## `modificationTime` Integer

最終更新日時(timestamp) を返します

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