New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@giftomatic/copy-and-go

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@giftomatic/copy-and-go

A simple script to copy a input value to clipboard, showing a notification and redirecting to a new page

  • 1.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

copy-and-go

NPM Version

A simple script to copy a input value to clipboard, showing a notification and redirecting to a new page.

Install

Install through NPM:

npm install --save @giftomatic/copy-and-go

Example

import { CopyAndGo } from "@giftomatic/copy-and-go";
const copyAndGo = new CopyAndGo({
  callback: () => {
    document.getElementById("notification")?.classList?.add("active");
  },
  giftcode: "giftcode",
  copyButton: "copy-go",
  form: "copy-go-form",
  timeout: 3000, // Set to 0 to omit the delay
  safariFormTarget: "_self", // Options: "_self" or any other value
});
console.log({ CopyAndGo, copyAndGo });

Or see the full example

Install through jsDelivr

import { CopyAndGo } from "https://cdn.jsdelivr.net/npm/@giftomatic/copy-and-go@1/+esm";

FAQs

Package last updated on 22 Jan 2025

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