Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@breadcrum/bookmarklet

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@breadcrum/bookmarklet

Bookmarklet for breadcrum.net

  • 1.0.10
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
54
increased by1.89%
Maintainers
1
Weekly downloads
 
Created
Source

@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

FAQs

Package last updated on 23 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc