bookmarks-document
Bookmarks data structure inspired by the DOM.
π Motivations
- There are not that many bookmarks data structures out there even less with a straight-forward API
β¨ Features
Simple, straight-forward and familiar API before anything.
- β ESM and bloat-free
- β Create, read, delete and update both bookmark links and folders
- β Supports well known formats such as Netscape Bookmark File Format
- β Can be serialized to a JSON representation
While this is not strictly a feature, this software is free, self-hosted and unhosted.
π‘ Missing a feature? Checkout the TODO file to see what work is in progress.
Usage
Prerequisites:
- Node.js >=18.0.0
- npm >=8.0.0
π How to use
Please refer to the user manual.
π¨ Development
It is recommended to read the developer manual.
π§ͺ Testing
Lint:
npm run test:lint
Lint individually:
Run test with ava:
npm test
Use the
NODE_DEBUG=bookmarks-documentenv to enable debug logs while testing.npm run test:watchis also available if you want to enable ava's watch mode.
Coverage:
npm run build:coverage
The coverage report files are available under dist/coverage
π§ Contributions
Contributions are more than welcome.
πΎ Bug report
βPlease search the existing issues and make sure the bug has not already been reported before making a new one.
To report a bug please use this link.
π‘ Feature request
βMake sure your suggestion is not already on the TODO.md and hasn't already been requested.
To suggest an idea please use this link.