Manual setup
cd agentlet-corenpm installnpm run buildThis creates:
dist/agentlet-core.js: development version (IIFE global, also usable viarequire('agentlet-core'))dist/agentlet-core.esm.js: ES module version, used by bundlers thatimportthe packagedist/agentlet-core.min.js: production versiondist/bookmarklet.js: bookmarklet versiondist/bookmarklet.html: installation page
From here, either:
- Open
dist/bookmarklet.htmlto install the bookmarklet in your browser, then click it on a page you want to augment. - Reference
dist/agentlet-core.jsordist/agentlet-core.esm.jsfrom your own build, and constructAgentletCoreyourself. See Public API for the constructor configuration.
Source: agentlet-core README.md, section “Getting started”.