Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@amsterdam/asc-assets
Advanced tools
This is a standalone package that contains:
font-face
definitions)Add this package to your project by running:
npm install @amsterdam/asc-assets
import { IconName } from '@amsterdam/asc-assets'
return <IconName />
There are currently two ways of including the fonts used in your application, you can either copy them in from this package in your build or include a version from the Amsterdam CDN. Note that if you want to use the version hosted by Amsterdam you must have an application that runs in the amsterdam.nl
domain space.
Add the following code to your index.html
file:
<link href="https://static.amsterdam.nl/fonts/fonts.css" rel="stylesheet" />
There is nothing more to do, the fonts should now be available in your application.
This step assumes that you are using WebPack, but it should be possible to do this with other tools or a simple shell script as well.
Add the following code to your WebPack configuration:
new CopyWebpackPlugin({
patterns: [
{
from: './node_modules/@amsterdam/asc-assets/static/fonts',
to: 'fonts',
},
],
})
And make sure to import the CSS file in your stylesheet:
@import '~@amsterdam/asc-assets/static/fonts/fonts.css';
npm run build # generates JSX components using the optimized SVG icons
[0.38.0]
FAQs
Contains icons and fonts
The npm package @amsterdam/asc-assets receives a total of 136 weekly downloads. As such, @amsterdam/asc-assets popularity was classified as not popular.
We found that @amsterdam/asc-assets demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.