Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@liip/npm-icons

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liip/npm-icons - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

bin/commands/add.js

5

bin/index.js
#! /usr/bin/env node
import { Command } from 'commander';
import addIcon from './add.js';
import addIcon from './commands/add.js';

@@ -22,4 +22,5 @@ const program = new Command();

.description('Add a new icon')
.argument('<string>', 'icon name')
.argument('[string]', 'icon name')
.option('-t, --type <string>', 'icon type')
.option('-l, --list <string>', 'import icons from file')
.action(async (name, options) => {

@@ -26,0 +27,0 @@ await addIcon(name, options);

2

package.json
{
"name": "@liip/npm-icons",
"version": "0.2.4",
"version": "0.2.5",
"description": "Import svg icons using cli",

@@ -5,0 +5,0 @@ "keywords": [

@@ -44,2 +44,15 @@ ## [Official Documentation](https://liip.github.io/npm-icons/website)

### import icons from icons list file
File required one icon name per line
File example (icons-list.txt):
```text
house
shop
music-ticket
```
command example:
```bash
npx icons add -l icons-list.txt
```
## Vue 3 integration

@@ -46,0 +59,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc