Comparing version 1.0.0 to 4.9.1
{ | ||
"name": "iconoir", | ||
"version": "1.0.0", | ||
"version": "4.9.1", | ||
"description": "A Simple and Definitive Open-Source Icons Library", | ||
"type": "module", | ||
"files": [ | ||
"css", | ||
"icons" | ||
], | ||
"scripts": { | ||
"build": "node ./bin/build.js" | ||
"lint": "eslint ./bin/build.js", | ||
"lint:fix": "npm run lint -- --fix", | ||
"build": "node ./bin/build.js", | ||
"prepublish-all": "node ./bin/prepublish.js", | ||
"dist": "pnpm m --filter ./packages run dist" | ||
}, | ||
@@ -18,4 +23,5 @@ "repository": { | ||
"icons", | ||
"library", | ||
"svg", | ||
"library" | ||
"css" | ||
], | ||
@@ -29,5 +35,10 @@ "license": "MIT", | ||
"@svgr/cli": "^5.5.0", | ||
"eslint": "^8.0.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"execa": "^5.1.1", | ||
"listr2": "^3.10.0" | ||
"listr2": "^3.12.2", | ||
"semver": "^7.3.5", | ||
"prettier": "^2.4.1" | ||
} | ||
} | ||
} |
<p align="center"> | ||
<img src="https://github.com/IconoirIcons/iconoir/blob/43b76792ddfe3a626c857dd501fa8b616001ab2c/src/iconoir.png" alt="Iconoir"> | ||
<img src="assets/iconoir-cover.png" alt="Iconoir"> | ||
</p> | ||
<p align="center"> | ||
Iconoir is an open source library with 900+ SVG Icons, designed on a 24x24 pixels grid. No premium icons, no email sign-up, no newsletters. | ||
Iconoir is an open source library with 1000+ SVG Icons, designed on a 24x24 pixels grid. No premium icons, no email sign-up, no newsletters. | ||
<p> | ||
@@ -14,12 +14,11 @@ | ||
<p align="center"> | ||
<a href="https://www.npmjs.com/package/iconoir-react"> | ||
<img src="https://img.shields.io/npm/v/iconoir-react.svg?style=flat-square" alt="NPM Monthly Downloads"> | ||
<a href="https://github.com/lucaburgio/iconoir/releases"> | ||
<img src="https://img.shields.io/github/v/release/lucaburgio/iconoir?style=flat-square" alt="Version"> | ||
</a> | ||
<a href="https://www.npmjs.com/package/iconoir-react"> | ||
<img src="https://img.shields.io/npm/dm/iconoir-react.svg?style=flat-square" alt="NPM Version"> | ||
</a> | ||
<a href="https://github.com/lucaburgio/iconoir"> | ||
<img src="https://img.shields.io/github/stars/lucaburgio/iconoir?style=flat-square" alt="Project Stars"> | ||
</a> | ||
<a href="https://www.npmjs.com/package/iconoir-react"> | ||
<img src="https://img.shields.io/npm/dm/iconoir-react?color=98E8F3&label=react&style=flat-square" alt="React Library"> | ||
</a> | ||
<a href="https://github.com/lucaburgio/iconoir/blob/master/LICENSE"> | ||
@@ -32,4 +31,16 @@ <img src="https://img.shields.io/github/license/lucaburgio/iconoir?style=flat-square" alt="License"> | ||
You can download any icon of the pack directly from https://iconoir.com or get them from the repository. | ||
You can download any icon of the pack directly from https://iconoir.com or get them from this repository. | ||
Additionally, the icons are available via the `iconoir` NPM package: | ||
```bash | ||
yarn add iconoir | ||
# or | ||
npm i iconoir | ||
``` | ||
Example usage: | ||
```js | ||
import Iconoir from 'iconoir/icons/iconoir.svg' | ||
``` | ||
## React | ||
@@ -39,2 +50,6 @@ | ||
## React Native | ||
A React Native library is available to install under the name `iconoir-react-native`. For more details, see the package [README](./packages/iconoir-react-native). | ||
## Framer | ||
@@ -45,10 +60,8 @@ | ||
## Font | ||
## CSS | ||
To use Iconoir as a font, add the [iconoir.css](./fonts/iconoir.css) file in your project. | ||
Import the CSS File: | ||
```html | ||
<link rel="stylesheet" href="https://raw.githubusercontent.com/lucaburgio/iconoir/master/fonts/iconoir.css"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/lucaburgio/iconoir@master/css/iconoir.css"> | ||
``` | ||
@@ -59,3 +72,3 @@ | ||
```html | ||
<span class="iconoir-hand-brake"></span> | ||
<i class="iconoir-hand-brake"></i> | ||
``` | ||
@@ -62,0 +75,0 @@ The class must always be "iconoir-" and then the name of the icon. You can find the names of the icons [here](https://iconoir.com). |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
2512077
1095
20
79
8