Gathering detailed insights and metrics for @scullyio/scully-plugin-copy-to-clipboard
Gathering detailed insights and metrics for @scullyio/scully-plugin-copy-to-clipboard
Gathering detailed insights and metrics for @scullyio/scully-plugin-copy-to-clipboard
Gathering detailed insights and metrics for @scullyio/scully-plugin-copy-to-clipboard
The Static Site Generator for Angular apps
npm install @scullyio/scully-plugin-copy-to-clipboard
Typescript
Module System
Node Version
NPM Version
TypeScript (91.8%)
CSS (5.47%)
JavaScript (1.76%)
HTML (0.58%)
Dockerfile (0.34%)
Shell (0.04%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2,548 Stars
957 Commits
254 Forks
45 Watchers
9 Branches
113 Contributors
Updated on Jul 03, 2025
Latest Version
2.1.41
Package Id
@scullyio/scully-plugin-copy-to-clipboard@2.1.41
Unpacked Size
10.32 kB
Size
3.74 kB
File Count
8
NPM Version
8.15.0
Node Version
16.17.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
copy
button in code snippets generated from markdown file with scully.1npm install -D @scullyio/scully-plugin-copy-to-clipboard
This plugin requires the clipboard.min.js
. Download it from here and add it in assets
folder of your application.
In the application's scully.<your-app>.config.ts
, Import copyToClipboard
plugin and add it in defaultPostHandlers
.
1import { copyToClipboard } from '@scullyio/scully-plugin-copy-to-clipboard'; 2 3const defaultPostRenderers = [copyToClipboard]; 4 5export const config: ScullyConfig = { 6 defaultPostRenderers, 7 routes: { 8 '/route/:slug': { 9 type: 'contentFolder', 10 postRenderers: [...defaultPostRenderers], 11 slug: { 12 folder: './folder', 13 }, 14 }, 15 }, 16 // Other Configuration... 17};
Provide custom plugin configuration in application's scully.<your-app>.config.ts
.
1setPluginConfig<CopyToClipboardPluginConfig>(copyToClipboard, { 2 copyBtnInitialText: '📄', 3 copyBtnOnClickText: '✅', 4 customBtnClass: 'customClass', 5 clipboardJSPath: 6 'https://cdn.jsdelivr.net/npm/clipboard@2.0.6/dist/clipboard.min.js', 7});
Property | Default | Description |
---|---|---|
customBtnClass | '' | Add custom css class for copy button to apply styles |
clipboardJSPath | /assets/clipboard.min.js | Specify clipboard js path, you can also specify CDN link here |
copyBtnInitialText | Copy | copy button initial text |
copyBtnOnClickText | Copied! | copy button text once code snippet is copied in clipboard |
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
Found 13/28 approved changesets -- score normalized to 4
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
81 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More