Bookmarklet for breadcrum.net
npm install @breadcrum/bookmarklet
This is the bookmarklet for Breadcrum.net.
```
npm install bookmarklet
` js
import getBookmarklet from '@breadcrum/bookmarklet'
const bookmarkletText = getBookmarklet({
TARGET_URL: 'breadcrum.net',
WINDOW_TITLE: 'Breadcrum'
})
`
Returns the bookmarklet text with simple runtime customizations so that environments can fix hard-coded variables.
esbuild used used to build standard, modular esm code into a minified iffi target, and then the results are stored in a json document that gets customised with .replaceAll in the exported getBookmarklet` function.
This bookmarklet was based off of the following resources:
- joelcarranza/particular-pinboard
MIT