2.2.11 • Published 1 year ago

my-snip v2.2.11

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

snip for snippet

This tool allows you to quickly prototype and develop a bookmarklet, aggregate snippets, and write userflow scripts.

for bookmarklet

use the configurator

for local install

npm i -D my-snip

  import("my-snip").then(({ default: mySnipt }) => {
    mySnipt.loadByLongPress({
      file: import("./snippets"),
      //everything below is optional
      env: { TOKEN: "" },
      onlyFromTags: ["BODY", "DIV"],
      timeout: 4000,
    });
  });

use env in methods snip

  "show token"({env}){
    alert(env("TOKEN"));
  },
2.2.11

1 year ago

2.2.10

2 years ago

2.2.9

2 years ago

2.2.8

2 years ago

2.2.7

2 years ago

2.2.6

2 years ago

2.2.5

2 years ago

2.2.4

2 years ago

2.2.3

2 years ago