1.0.9 • Published 8 months ago

@breadcrum/bookmarklet v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@breadcrum/bookmarklet

Actions Status latest version Coverage Status

This is the bookmarklet for Breadcrum.net.

npm install bookmarklet

Usage

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.

How this works

esbuild used used to build standard, modular esm code into a minified iffi target, and then the reults are stored in a json document that gets customised with .replaceAll in the exported getBookmarklet function.

See also

This bookmarklet was based off of the following resources:

License

MIT

1.0.9

8 months ago

1.0.8

12 months ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago