Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@coinpaprika/widget-market
Advanced tools
A widget showing cryptocurrencies list with stats that you can easily embed in your website.
example:
<div class="coinpaprika-market-widget"
data-currency-list='["bch-bitcoin-cash", "eth-ethereum", "xrp-xrp", "bch-bitcoin-cash"]'
data-update-active="true"
data-update-timeout="30s"></div>
example:
<div class="coinpaprika-market-widget"></div>
<script src="./src/widget.js"
data-cp-market-widget='{
"language": "pl",
"currency-list": ["bch-bitcoin-cash", "eth-ethereum", "xrp-xrp", "bch-bitcoin-cash"],
"origin-src": "."
}'>
</script>
currency-list - Array of currency IDs that you can get from API ex. 'btc-bitcoin'
default: ["btc-bitcoin", "eth-ethereum", "xrp-xrp", "bch-bitcoin-cash"]
update-active - bool value is live data updates active
default: false
update-timeout - Update interval '30s', '1m', '5m', '10m', '30m'
default: '30s'
language - text translation from files in dist/lang/
default: 'en'
origin-src - custom link to /dist
directory
default: 'https://cdn.jsdelivr.net/npm/@coinpaprika/widget-market'
style-src - custom link to css file, if you don't want to fetch styles from js set as false
default: null
img-src - custom link to img folder
default: null
lang-src - custom link to lang folder
default: null
Enable styling for dark backgrounds by adding cp-widget__night-mode
class to widget element
<div class="coinpaprika-market-widget cp-widget__night-mode"></div>
<div class="coinpaprika-market-widget"
data-currency-list='["bch-bitcoin-cash", "eth-ethereum", "xrp-xrp", "bch-bitcoin-cash"]'
data-update-active="false"
data-update-timeout="30s"></div>
<script src="https://cdn.jsdelivr.net/npm/@coinpaprika/widget-market/dist/widget.min.js"></script>
npm i @coinpaprika/widget-market --save
Then add this to your HTML, replacing data parameters
<div class="coinpaprika-market-widget"></div>
<script src="../node_modules/@coinpaprika/widget-market/dist/widget.min.js"
data-cp-market-widget='{
"origin-src": "../node_modules/@coinpaprika/widget-market"
}'></script>
bower install coinpaprika-widget-market --save
Then add this to your HTML, replacing data parameters
<div class="coinpaprika-market-widget"></div>
<script src="../bower_components/coinpaprika-widget-market/dist/widget.min.js"
data-cp-market-widget='{
"origin-src": "../bower_components/coinpaprika-widget-market"
}'></script>
<div class="coinpaprika-market-widget"></div>
<div class="coinpaprika-market-widget"
data-currency-list='["bch-bitcoin-cash", "eth-ethereum", "xrp-xrp", "bch-bitcoin-cash"]'></div>
<script src="https://cdn.jsdelivr.net/npm/@coinpaprika/widget-market/dist/widget.min.js"></script>
FAQs
A widget showing cryptocurrencies list with stats that you can easily embed in your website.
We found that @coinpaprika/widget-market demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.