
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@liip/npm-icons
Advanced tools
To get started quickly you can add liip-npm-icons dependency to your project:
npm install @liip/npm-icons
Then create a config file .npm-iconsrc.json
and where you want to download your icons
{
"iconsPath": "./src/assets/icons",
}
You would need to add the following variable to your .npm-iconsrc.json
{
"iconsPath": "./src/assets/icons",
"iconsSvgBaseUrl": "https://icons.liip.ch/icons",
"iconsJsonUrl": "https://icons.liip.ch/icons.json",
"iconsTypes": ["regular", "light"],
"authorization": {
"username": null,
"password": null
}
}
In case you want to add the username and password as environment variable you can use:
ICONS_AUTH_USERNAME="yourUsername"
ICONS_AUTH_PASSWORD="yourPassword"
npx icons add <icon-name>
File required one icon name per line
File example (icons-list.txt):
house
shop
music-ticket
command example:
npx icons add -l icons-list.txt
Requirements:
npm install vite-svg-loader --save-dev
vite.config.jsimport svgLoader from 'vite-svg-loader'
export default defineConfig({
plugins: [vue(), svgLoader()]
})
BaseIconimport { createApp } from 'vue'
import App from './App.vue'
import BaseIcon from '@liip/npm-icons'
createApp(App)
.use(BaseIcon)
.mount('#app')
<template>
<BaseIcon name="house" />
</template>
/src/assets/icons<template>
<BaseIcon name="house" iconsPath="/different/icons/path" />
</template>
To contribute first clone the project:
git clone git@github.com:liip/npm-icons.git
The tool release-it is used to make a release so it is as simple as running the following command:
npm run release
Our documentation is made with nuxt-content and the docs theme If you want to make any changes you need execute the following commands:
cd docs
npm install
npm run dev
The deployment is made with github pages using static files thanks to
nuxt generate.
If you want to deploy some changes just run npm run release and
then answer yes to the question Do you want to build the docs?
then release-it will run nuxt generate and commit the changes into the
tag commit.
FAQs
Import svg icons using cli
The npm package @liip/npm-icons receives a total of 1 weekly downloads. As such, @liip/npm-icons popularity was classified as not popular.
We found that @liip/npm-icons demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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 discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.