normalizeBookmarkTree
This content is for v1.3.0. Switch to the latest version for up-to-date documentation.
normalizeBookmarkTree(
nodes):BookmarkTree
Defined in: domain/bookmarks/bookmark-tree.ts:394
Chrome Bookmark Treeを疑似CLI向けの平坦なBookmark Treeへ正規化します。
Parameters
Section titled “Parameters”readonly RawBookmarkTreeNode[]
Chrome Bookmarks API由来のroot node一覧です。
Returns
Section titled “Returns”正規化済みBookmark Treeです。
Example
Section titled “Example”const result = normalizeBookmarkTree(chromeBookmarkTreeNodes);