JSPM

snippyjs

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q38231F
  • License ISC

An npm package for copy, paste functions so you do not have to create all the logic your self

Package Exports

  • snippyjs
  • snippyjs/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (snippyjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Snippyjs

A simple npm library for copy/paste functions

features

1.There is a copy function 2.There is a paste function

installation

npm i snippyjs

How to implement snippyjs

import { Copy } from 'snippyjs'

export const App = async () => {

    return(
        <button onclick={await Copy("Hi")}>Click me</button>
    )
}