{"id":13911226,"url":"https://github.com/sentialx/node-bookmarks-parser","last_synced_at":"2025-07-18T11:30:29.419Z","repository":{"id":47984733,"uuid":"199514519","full_name":"sentialx/node-bookmarks-parser","owner":"sentialx","description":"Parses Chrome HTML bookmarks files","archived":true,"fork":false,"pushed_at":"2022-12-30T18:19:03.000Z","size":108,"stargazers_count":11,"open_issues_count":4,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-25T22:43:07.154Z","etag":null,"topics":["bookmarks","chrome","netscape","nodejs","parser","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sentialx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-29T19:26:22.000Z","updated_at":"2024-10-09T07:49:13.000Z","dependencies_parsed_at":"2023-01-31T12:50:12.324Z","dependency_job_id":null,"html_url":"https://github.com/sentialx/node-bookmarks-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sentialx/node-bookmarks-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentialx%2Fnode-bookmarks-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentialx%2Fnode-bookmarks-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentialx%2Fnode-bookmarks-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentialx%2Fnode-bookmarks-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sentialx","download_url":"https://codeload.github.com/sentialx/node-bookmarks-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentialx%2Fnode-bookmarks-parser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265750869,"owners_count":23822675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bookmarks","chrome","netscape","nodejs","parser","typescript"],"created_at":"2024-08-07T00:02:02.397Z","updated_at":"2025-07-18T11:30:29.059Z","avatar_url":"https://github.com/sentialx.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# node-bookmarks-parser\n\nThis library can parse following formats:\n\n- Netscape Bookmarks (Google Chrome)\n\n## Installation\n\n`npm install node-bookmarks-parser`\n\nExample:\n\n```typescript\nimport parse from \"node-bookmarks-parser\";\n\ntry {\n  const html = ...;\n  const bookmarks = parse(html);\n} catch (e) {\n  console.error(e);\n}\n```\n\n## Documentation\n\n### Methods\n\n#### `parse(text: string, options?: Options)`\n\n- `text` string\n- `options` object - an optional parameter with following fields:\n  - `parser` string - `netscape` (default)\n\nReturns [`Bookmark[]`](#bookmark)\n\n### Objects\n\n#### `Bookmark`\n\n- `type` string - `folder` or `bookmark`\n- `title` string - title of a bookmark or a folder\n- `url` string - URL only for bookmarks\n- `children` [`Bookmark[]`](#bookmark) - array of children bookmarks, only for folders\n- `addDate` string\n- `lastModified` string\n- `icon` string - favicon in a base64 encoded string\n- `nsRoot` string - if the folder is a root this field will contain one of the values: `menu`, `toolbar`, `unsorted`, otherwise `null`. Applicable only for `netscape` parser.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentialx%2Fnode-bookmarks-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsentialx%2Fnode-bookmarks-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentialx%2Fnode-bookmarks-parser/lists"}